Commit graph

128508 commits

Author SHA1 Message Date
thibdrev
4fcb97dd8d
fix: phpstan
htdocs/product/stock/product.php	156	Property Product::$cost_price (float) does not accept string.
htdocs/product/stock/product.php	193	Property ProductStockEntrepot::$fk_entrepot (int) does not accept array|string.
htdocs/product/stock/product.php	222	Property Product::$seuil_stock_alerte (float) does not accept array|string.
2024-01-18 21:17:49 +01:00
Laurent Destailleur
c103e0e5fd
Merge pull request #27617 from thibdrev/patch-2
fix: phpstan
2024-01-18 21:15:49 +01:00
Laurent Destailleur
984d5ebb94
Merge pull request #27619 from thibdrev/patch-4
fix:phpstan
2024-01-18 21:14:13 +01:00
Laurent Destailleur
21c3e6715f
Merge pull request #27622 from thibdrev/patch-7
fix: phpstan
2024-01-18 21:13:07 +01:00
Laurent Destailleur
e2e194886a
Merge pull request #27623 from thibdrev/patch-8
fix: phpstan
2024-01-18 21:11:30 +01:00
Laurent Destailleur
e8e6a217bd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 21:09:27 +01:00
Laurent Destailleur
7acee285a8 Fix test 2024-01-18 21:07:05 +01:00
thibdrev
c66efb3d71
fix: phpstan
htdocs/hrm/establishment/card.php	99	Property Establishment::$country_id (int) does not accept array|string.
htdocs/hrm/establishment/card.php	100	Property Establishment::$status (int) does not accept array|string.
htdocs/hrm/establishment/card.php	136	Property Establishment::$country_id (int) does not accept array|string.
htdocs/hrm/establishment/card.php	138	Property Establishment::$status (int) does not accept array|string.
2024-01-18 20:51:52 +01:00
thibdrev
2412ce3ba1
fix: phpstan
htdocs/expensereport/card.php	262	Property ExpenseReport::$fk_user_author (int) does not accept array|string.
htdocs/expensereport/card.php	287	Property ExpenseReport::$fk_user_validator (int) does not accept array|string.
htdocs/expensereport/card.php	336	Property ExpenseReport::$fk_user_validator (int) does not accept array|string.
2024-01-18 20:44:47 +01:00
thibdrev
e35c987559
fix: phpstan
htdocs/adherents/class/adherent.class.php	1198	Method Adherent::setPassword() should return string but returns int.
2024-01-18 20:16:32 +01:00
thibdrev
1c075f69c8
fix: phpstan
htdocs/user/bank.php	133	Property Account::$state_id (int) does not accept array|string.
htdocs/user/bank.php	134	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/user/bank.php	152	Property Account::$courant (int) does not accept array|string.
htdocs/user/bank.php	164	Property Account::$state_id (int) does not accept array|string.
htdocs/user/bank.php	165	Property CommonObject::$country_id (int) does not accept array|string.
2024-01-18 18:51:15 +01:00
Laurent Destailleur
f1f952c65f Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 18:43:05 +01:00
Laurent Destailleur
b7212cbac4 Try bette fix for #27586 2024-01-18 18:06:10 +01:00
Laurent Destailleur
7fcd0f9d2d
Merge pull request #27613 from thibdrev/patch-4
fix: phpstan
2024-01-18 17:46:42 +01:00
thibdrev
6f42317015
fix: phpstan
htdocs/variants/combinations.php	280	Property ProductCombination::$variation_weight (float) does not accept string.
htdocs/variants/combinations.php	286	Property ProductCombination::$variation_price (float) does not accept string.
htdocs/variants/combinations.php	292	Property ProductCombination::$variation_price (float) does not accept string.
htdocs/variants/combinations.php	302	Property ProductCombinationLevel::$variation_price (float) does not accept string.
2024-01-18 17:38:46 +01:00
Laurent Destailleur
76f1b37d4f
Merge pull request #27540 from mdeweerd/doc/pre-commit
NEW: Dev documentation about setting up pre-commit locally
2024-01-18 16:32:54 +01:00
Laurent Destailleur
92d627cf3e
Merge pull request #27611 from altairis-noe/typo
FIX do not ommit colon
2024-01-18 16:27:42 +01:00
Laurent Destailleur
43d8e26023 Move API HTTP code from 401 to 403 2024-01-18 16:25:47 +01:00
Laurent Destailleur
5a589ca678 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 16:05:09 +01:00
Laurent Destailleur
4db074216c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 16:04:49 +01:00
Laurent Destailleur
055a598584 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 16:04:23 +01:00
Laurent Destailleur
d9858d9bb7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-18 16:00:26 +01:00
Laurent Destailleur
ecb171905e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-18 16:00:00 +01:00
Laurent Destailleur
a2cdfa5492 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-18 15:59:40 +01:00
Laurent Destailleur
387a06fdc5 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-01-18 15:59:10 +01:00
Laurent Destailleur
7c0ccba344 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-01-18 15:58:19 +01:00
Laurent Destailleur
90c5205ce7
Merge pull request #27355 from W1W1-M/new-resource-full-address
NEW resource address
2024-01-18 15:57:56 +01:00
MDW
0fe6b8122a NEW: Dev documentation about setting up pre-commit locally
# NEW: Dev documentation about setting up pre-commit locally

A quick start guide about setting up pre-commit.
2024-01-18 15:54:08 +01:00
Laurent Destailleur
d5f90e9956
Merge pull request #27610 from vold-lu/issues-27220
FIX: ModuleBuilder: make sure fk_object is unique on extrafields
2024-01-18 15:48:02 +01:00
Laurent Destailleur
369d0eb676
Merge pull request #27609 from vold-lu/fix-supplier-invoice-api
FIX: Fix supplier invoice security check
2024-01-18 15:45:35 +01:00
Laurent Destailleur
745938540a
Merge pull request #27606 from mdeweerd/flow/pre-commit/codespell
Fix: pre-commit & codespell configuration.
2024-01-18 15:41:55 +01:00
Laurent Destailleur
fb6928f747
Merge pull request #27602 from defrance/patch-316
stock transfert not stable : return to experimental
2024-01-18 15:39:56 +01:00
Noé Cendrier
c33422bc49 FIX do not ommit colon 2024-01-18 15:37:42 +01:00
Aloïs Micard
9c27b76d55 Fix index name 2024-01-18 15:35:08 +01:00
Laurent Destailleur
0412374568
Merge pull request #27608 from Thomas905/fix/editextrafieldsdoncard
FIX : add action update_extras to don card
2024-01-18 15:24:36 +01:00
Aloïs Micard
d89d1ede98 FIX: ModuleBuilder: make sure fk_object is unique on extrafields 2024-01-18 15:21:35 +01:00
Laurent Destailleur
6c91d3d8b7 Fix typo english 2024-01-18 15:15:05 +01:00
Aloïs Micard
bc14550ded FIX: Fix supplier invoice security check 2024-01-18 14:55:45 +01:00
Laurent Destailleur
cf6148dbf2
Merge pull request #27057 from lamrani002/addColumnInwebsiteTable
New column in website table for stock name of template imported
2024-01-18 14:16:56 +01:00
Laurent Destailleur
859ab08d35
Update 18.0.0-19.0.0.sql 2024-01-18 14:16:28 +01:00
Laurent Destailleur
eb505f9b6e
Merge branch 'develop' into addColumnInwebsiteTable 2024-01-18 14:15:58 +01:00
Thomas905
4c5d9f2742 add action update_extras to don card 2024-01-18 13:56:46 +01:00
MDW
ba379435c8 Fix: pre-commit & codespell configuration.
# Fix: pre-commit & codespell configuration.

When codespell is run from the CLI it gets its configuration from
pyproject.toml or .codespellrc .
`pyproject.toml` was used because other tools also use that while
.codespellrc is specific.

A typo was fixed in the pre-commit configuration.

The end of file fixer was limited to yaml files, but that was mainly
to fix the yamllint errors that were reported in ci.
This hook can be applied on the files this normally applies to
without requiring it (not in ci, only local).
2024-01-18 13:53:18 +01:00
Laurent Destailleur
ec31f00dbd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 13:45:39 +01:00
Laurent Destailleur
3579d8f8d6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 13:38:36 +01:00
Laurent Destailleur
246c7a3f5b Update doc 2024-01-18 13:38:28 +01:00
Laurent Destailleur
d329f0528c Fix version qualified for security report 2024-01-18 13:35:20 +01:00
Laurent Destailleur
cfcb9bc2a0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 13:31:40 +01:00
Laurent Destailleur
c32fafea4e
Merge pull request #27603 from defrance/patch-317
stock transfert realy not stable
2024-01-18 13:00:21 +01:00
Laurent Destailleur
8706d58ea6 Move code only if required 2024-01-18 12:39:45 +01:00