Commit Graph

904 Commits

Author SHA1 Message Date
Frédéric FRANCE
741e75ee47 add phpdoc (#29832)
* add phpdoc

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* add phpdoc

* fix phan

* fix phan
2024-06-04 14:46:54 +02:00
Laurent Destailleur
918c5aab43 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-03 21:44:15 +02:00
Laurent Destailleur
3d2343374d Fix qty_frozen must be O or 1 2024-06-03 11:31:49 +02:00
Laurent Destailleur
f36095ae02 Try to fix value of null instead of 0 int disable_stock_change into
llx_mrp_production.
2024-06-02 18:28:51 +02:00
Laurent Destailleur
32dc3a885f Fix null value that must be 0 into llx_mrp_production 2024-06-02 18:23:51 +02:00
Laurent Destailleur
214c3eae76 Fix travis 2024-05-31 15:38:36 +02:00
Frédéric FRANCE
bae0c17811 clean code (#29800)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* Update adherent.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-31 15:09:41 +02:00
Laurent Destailleur
31a626b34d Fix phan 2024-05-31 14:59:16 +02:00
Laurent Destailleur
326e611851 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-29 14:46:55 +02:00
Laurent Destailleur
66fdf21939 Doc 2024-05-29 14:12:19 +02:00
Laurent Destailleur
45e8ed9b36 Doc 2024-05-29 14:12:09 +02:00
Laurent Destailleur
86ac5328cf Doc 2024-05-29 14:07:11 +02:00
Laurent Destailleur
73e0dcabd3 Fix error code 2024-05-29 13:58:51 +02:00
Laurent Destailleur
ccb0ae04e4 API is not working, so we rename it to allow use of another one that can
work correcly.
2024-05-29 13:51:00 +02:00
Laurent Destailleur
a357ed308a Fix for #29777. Explain how to use produceAndConsume MO API. 2024-05-29 13:43:16 +02:00
Laurent Destailleur
66f4562300 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 14:50:17 +02:00
Laurent Destailleur
a854e58905 FIX Missing $param in hook call for list 2024-05-23 14:41:56 +02:00
Laurent Destailleur
59ae417912 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
Laurent Destailleur
481fec5291 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-21 20:12:45 +02:00
atm-adrien
133bf3ffb8 FIX : mo cloning (#29686) 2024-05-15 15:06:14 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

fix phpstan

fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
b7a07d8348 Look and feel v20 2024-04-19 15:54:09 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Frédéric FRANCE
7cf6a0821f fix phpdoc for ismultientitymanaged (#29245)
* fix phpdoc

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-06 17:38:39 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
fffe74246c Fix all short tables must use the setup for the number of rows 2024-04-03 15:30:10 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Laurent Destailleur
87348ceac3 Fix missing $max 2024-04-02 12:01:23 +02:00
Laurent Destailleur
3c65383533 NEW Look and feel v20 - add picto to full list on summaries tables. 2024-04-01 14:20:29 +02:00
Laurent Destailleur
c08a90830b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-28 16:20:38 +01:00
MDW
16892d5c19 Fix phan notice with cast 2024-03-28 02:13:36 +01:00
ksar
911eb9fc9e FIX : MRP devide product not working
https://www.dolibarr.fr/forum/t/probleme-division-ligne-consommation-produit-dans-module-mrp/45898
2024-03-26 21:31:54 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
MDW
67f43f0558 Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:38 +01:00
MDW
0ce51708f3 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:49 +01:00
MDW
794dc257c7 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:47 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
Laurent Destailleur
c883cda94c Merge pull request #28841 from lamrani002/fixMoProps
FIX variable by adding a type BOMLine (PHPStan warnings)
2024-03-16 16:10:55 +01:00
Laurent Destailleur
65cf2f980f Update mo_card.php 2024-03-16 16:10:31 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Lamrani Abdel
b4ffcf400f Fix assignment with moLine to BomLine 2024-03-15 15:47:48 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
628ddbda14 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:54:00 +01:00
Laurent Destailleur
f1a8d712fb Merge branch 'develop' into fix-warnings-and-trad-not-showing 2024-03-15 00:23:54 +01:00
Lamrani Abdel
3c7f5391e5 FIX variable by adding a type BOMLine (PHPStan warnings) 2024-03-14 16:00:43 +01:00