2
0
forked from Wavyzz/dolibarr
Commit Graph

14258 Commits

Author SHA1 Message Date
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
Eric Seigne
addccfd273 rename cum to cumulative 2024-04-03 22:18:53 +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
Eric Seigne
a0ecc3ce53 fix simple report : use untaxed amounts 2024-04-03 15:38:58 +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
5acdcac75d Debug v20 2024-04-03 12:25:06 +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
cca200d581 Debug v20 2024-04-02 17:02:14 +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
c08a90830b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-28 16:20:38 +01:00
Laurent Destailleur
3a3ccc253b Fix GET use 2024-03-28 16:18:50 +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
58c676a7e1 Force typing (phan) for typing checks 2024-03-27 10:18:06 +01:00
MDW
bf659fee44 Force typing (phan) for typing checks 2024-03-27 10:18:05 +01:00
Laurent Destailleur
faeee834ff Fix css 2024-03-25 00:11:18 +01:00
MDW
949ccf312a Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:24 +01:00
Laurent Destailleur
a5fec9f06f Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 20:44:54 +01:00
Laurent Destailleur
27ad9573f6 Debug v20 2024-03-23 19:32:08 +01:00
MDW
2ea00c10c0 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:33 +01:00