Laurent Destailleur
b9b097057a
Fix subtype must be visible only for countries that need subtype
...
invoices
2024-04-08 12:02:31 +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
Laurent Destailleur
38fb00489d
PHPDoc
2024-04-05 13:44:59 +02:00
Laurent Destailleur
0fe0cd7c01
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-04-04 11:39:02 +02:00
Laurent Destailleur
893eff03ba
Fix escape js
2024-04-04 11:21:15 +02:00
Laurent Destailleur
404ba88107
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-04-04 11:19:45 +02:00
Laurent Destailleur
14afdf6b0e
Fix regression on GETPOSTINT
2024-04-03 17:50:24 +02:00
Laurent Destailleur
c5fddfb49f
Fix regression of GETPOSTINT
2024-04-03 17:29:23 +02:00
Laurent Destailleur
2947287e3f
Look and feel v20
2024-04-03 16:22:16 +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
50f99a51bb
Remove trigger BILLREC_CREATEBILL that should not exists as it is
...
duplicate of BILL_CREATE.
This trigger was not a CRUD event. If you used it, you can already use
the trigger BILL_CREATE and test that ($object->fac_rec > 0) to know if
creation trigger is from a recurring invoice or not. Also this old
trigger was never enabled into table llx_c_action_trigger.
2024-04-03 02:37:30 +02:00
Laurent Destailleur
714236a1ec
Merge pull request #29203 from rycks/16_move_trigger_to_facture
...
move BILLREC_CREATEBILL to facture because of ui actions
2024-04-03 02:29:12 +02:00
Eric Seigne
6bd2d78fc9
fix object call
2024-04-02 21:35:25 +02:00
Eric Seigne
850ec25f23
move BILLREC_CREATEBILL to facture because of user can click on button "create" from ui, not only from cron
2024-04-02 21:29:21 +02:00
Frédéric France
83258058f0
fix Property FactureLigne::$localtax1_type (int) does not accept string
2024-04-02 20:31:37 +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
51f862ad28
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-04-02 13:21:00 +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
Jon Bendtsen
04b3b4d4d2
will allow updating 1 invoices single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for invoices
2024-04-01 10:17:58 +02:00
Regis Houssin
85a08a9288
FIX sometimes a string type instead integer is return, why ?
2024-03-31 19:17:58 +02:00
Laurent Destailleur
5c72441cc2
Merge pull request #29133 from mdeweerd/fix/related/fournisseur.facture
...
Fix phan notices related to fournisseur.facture.class.php
2024-03-30 23:46:01 +01:00
MDW
9afe7dba59
Fix phan notices related to fournisseur.facture.class.php
...
# Fix phan notices related to fournisseur.facture.class.php
This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
MDW
04c3e80fc5
Fix typing
2024-03-29 18:26:48 +01:00
Laurent Destailleur
233629ed3a
Merge branch 'develop' into phpstan_user
2024-03-29 12:20:23 +01:00
Laurent Destailleur
b58e439a17
Clean use of $_POST
2024-03-28 21:29:02 +01:00
Frédéric France
7a7b1953ed
fix phpstan
2024-03-28 20:34:33 +01:00
Frédéric France
a3df8248a7
Merge remote-tracking branch 'upstream/develop' into phpstan_user
2024-03-28 20:26:57 +01:00
Frédéric France
afcf1710f9
fix phpstan
2024-03-28 20:20:41 +01:00
Frédéric France
5b1af95864
fix phpstan
2024-03-28 20:16:32 +01:00
Laurent Destailleur
3e8c3edd6d
Clean code from _GET
2024-03-28 17:10:22 +01:00
Laurent Destailleur
2135873786
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-28 14:27:47 +01:00
Laurent Destailleur
3fd0af7987
Fix #29085
2024-03-28 14:27:33 +01:00
Laurent Destailleur
a7e33e6573
Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
...
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Laurent Destailleur
7535a884ac
Merge pull request #29069 from mdeweerd/fix/price
...
Fix arguments to price()
2024-03-28 13:07:25 +01:00
Laurent Destailleur
415e99606d
Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
...
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
5507f033c8
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-28 12:54:27 +01:00
Laurent Destailleur
c112a965cc
Fix phan warnings
2024-03-28 12:54:08 +01:00
Laurent Destailleur
f403a3e054
Fix warning
2024-03-28 12:45:47 +01:00
MDW
ceb36ad232
Fix phan notices (deprecations, arguments, optimisations)
2024-03-28 02:13:41 +01:00
MDW
975243f1b5
Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
...
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
MDW
d28031cc8f
Fix arguments to price()
2024-03-27 10:21:25 +01:00
MDW
bf659fee44
Force typing (phan) for typing checks
2024-03-27 10:18:05 +01:00
MDW
949ccf312a
Force type to fix PhanNonClassMethodCall
2024-03-24 15:40:24 +01:00
MDW
359a2688ff
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:29 +01:00
MDW
0c8eae7240
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:28 +01:00
Laurent Destailleur
51a3641105
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/bom/tpl/objectline_create.tpl.php
htdocs/compta/bank/releve.php
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/freezone.php
2024-03-22 02:35:37 +01:00
Laurent Destailleur
b658bde88a
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
...
Conflicts:
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
Laurent Destailleur
7b0177a84d
Move to getDolGlobalString
2024-03-22 00:37:56 +01:00
MDW
ecf24fd3b4
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:06 +01:00