Commit graph

134020 commits

Author SHA1 Message Date
Laurent Destailleur
38fa6070f4
Merge pull request #29219 from hregis/fix_dev_phan_error
FIX phan error function isModEnabled can have value "proposal"
2024-04-04 02:50:25 +02:00
Laurent Destailleur
00b105806e Fix phpunit 2024-04-04 01:59:33 +02:00
Laurent Destailleur
dba5f4bdbc css 2024-04-04 01:51:26 +02:00
Laurent Destailleur
4887c9db0f Look and feel v20 2024-04-04 01:49:23 +02:00
Laurent Destailleur
40165541d9 Look and feel v20 2024-04-04 01:35:36 +02:00
Laurent Destailleur
8d1efd2916 Clean code 2024-04-03 23:14:11 +02:00
Laurent Destailleur
8eb93c9f2a Revert to restore stability 2024-04-03 22:52:57 +02:00
Laurent Destailleur
56f9ec41c0 FIX regression. A lot of broken feature and corruption of data du to
deprecation management.
2024-04-03 22:34:59 +02:00
Regis Houssin
6bf4b28d46 FIX phan error function isModEnabled can have value "proposal" 2024-04-03 19:32:46 +02:00
Laurent Destailleur
bec30610d9 Add link to apstats 2024-04-03 19:23:53 +02:00
Laurent Destailleur
a8f22f4215 WIP option MAIN_USE_HTML5_LIMIT_SELECTOR 2024-04-03 18:44:13 +02:00
Laurent Destailleur
d5945f4c54 Debug v20 2024-04-03 17:57:25 +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
bf3c4bdc01 CSS 2024-04-03 17:03:37 +02:00
Laurent Destailleur
2947287e3f Look and feel v20 2024-04-03 16:22:16 +02:00
Laurent Destailleur
ab093510fb Responsive 2024-04-03 15:40:24 +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
3fa5e017e6 Update demo profile 2024-04-03 13:49:47 +02:00
Laurent Destailleur
db39371113 CSS v20 2024-04-03 13:35:34 +02:00
Laurent Destailleur
f03eb260de Nicer combo of companies for external modules 2024-04-03 13:20:26 +02:00
Laurent Destailleur
5acdcac75d Debug v20 2024-04-03 12:25:06 +02:00
Laurent Destailleur
c31c766431 Debug v20 2024-04-03 03:27:28 +02:00
Laurent Destailleur
20e0417f3b Fix warning 2024-04-03 02:59:58 +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
Laurent Destailleur
ce25d6a486
Merge pull request #29200 from frederic34/fix_20240402
fix Property FactureLigne::$localtax1_type (int) does not accept string
2024-04-03 02:08:52 +02:00
Laurent Destailleur
6004d3ae14
Merge pull request #29204 from mdeweerd/fix/projet_abs
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
2024-04-03 02:06:52 +02:00
Laurent Destailleur
8b916b6269 Restore deprecation 2024-04-03 01:56:17 +02:00
Laurent Destailleur
83f6343a2c Clean code 2024-04-03 01:49:18 +02:00
Laurent Destailleur
d03a926238 Clean code. Reduce warning for deprecated field to a better blanced
level, as we should start soon the beta.
2024-04-03 00:51:18 +02:00
Laurent Destailleur
9aa5e43836 Doc 2024-04-02 23:51:45 +02:00
MDW
44f4261cf9
Fix phan notice by verifying value is array 2024-04-02 23:30:54 +02:00
Laurent Destailleur
fec7ed4b0f Reduce number of transitionnal warnings for deprecations 2024-04-02 23:16:48 +02:00
Laurent Destailleur
2331ecba52 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-02 23:06:47 +02:00
Laurent Destailleur
95e6eae8a0 Redirect on setup page until company name and country is set 2024-04-02 23:06:29 +02:00
MDW
e64e57716c
Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type

I got the following message:
`Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233`

I examined the phan report and there was no mention of this because dol_eval was
said to return mixed.

In order to detect such cases, I amended the dol_eval return type to ensure to find
most of the locations where a cast is needed.
2024-04-02 22:52:52 +02:00
Laurent Destailleur
7d49bea63f
Merge pull request #29202 from vanyolai/patch-1
Update replenish.php
2024-04-02 22:43:37 +02:00
Laurent Destailleur
ba07e12f55 Comment deprecated code 2024-04-02 21:42:59 +02:00
Eric Seigne
6bd2d78fc9 fix object call 2024-04-02 21:35:25 +02:00
Laurent Destailleur
810b62528b Projects 2024-04-02 21:29:21 +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
Laurent Destailleur
aea4c84a68 Better warnings 2024-04-02 21:29:16 +02:00
Vanyo
7b7a6a7ad4
Update replenish.php
field name left here from V19
2024-04-02 21:03:49 +02:00
Laurent Destailleur
c6cef436dc Fix warning 2024-04-02 20:59:20 +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
d6d81292ac Fix phpunit 2024-04-02 18:40:26 +02:00
Laurent Destailleur
0916592b84 Fix phpunit 2024-04-02 17:47:28 +02:00
Laurent Destailleur
572600bfd3 NEW Use a nicer combo list to select the export accounting format 2024-04-02 17:41:53 +02:00
Laurent Destailleur
7c04b81fe1 Fix warning message 2024-04-02 17:13:57 +02:00