Commit Graph

134003 Commits

Author SHA1 Message Date
Eric Seigne
a0ecc3ce53 fix simple report : use untaxed amounts 2024-04-03 15:38:58 +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
Laurent Destailleur
68d4f773ce Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-02 17:12:01 +02:00
Laurent Destailleur
e7cbf5b416 FIX bad code for setup variable ACCOUNTING_ACCOUNT_EXPENSEREPORT 2024-04-02 17:11:45 +02:00
Laurent Destailleur
cca200d581 Debug v20 2024-04-02 17:02:14 +02:00
Laurent Destailleur
af41ec8e41 Clean code - Remove not used method fetchAll and CSS 2024-04-02 16:42:21 +02:00
Laurent Destailleur
c6c441ffee Merge pull request #29078 from developmentOYR/patch-2
Update fournisseur.facture.class.php
2024-04-02 15:11:07 +02:00
Laurent Destailleur
9f993fb8e6 Update fournisseur.facture.class.php 2024-04-02 15:10:36 +02:00
Laurent Destailleur
d1d188e6ee Merge pull request #29196 from mdeweerd/phpstan/actioncomm
Qual: Fix typings in actioncomm
2024-04-02 15:05:58 +02:00
Laurent Destailleur
18e45d5e5e Merge pull request #29195 from mdeweerd/qual/jdate_typing
Qual: improve typing for jdate
2024-04-02 15:05:23 +02:00
Laurent Destailleur
9c9f51dbf4 Merge pull request #29119 from atm-jonathan/NEW_MASS_ACTION_UNASSIGN_COMMERCIAL
New mass action unassign commercial
2024-04-02 15:04:43 +02:00
Laurent Destailleur
acb80c551f Update main.lang 2024-04-02 15:03:59 +02:00
Laurent Destailleur
92797333e6 Update companies.lang 2024-04-02 15:01:44 +02:00
Laurent Destailleur
a7cd496bd2 Merge branch 'develop' into NEW_MASS_ACTION_UNASSIGN_COMMERCIAL 2024-04-02 14:57:10 +02:00
Laurent Destailleur
6bdbdb1348 Merge pull request #29161 from Vaadasch/patch-4
FIX & ADD llx_accounting_account_fr : PCG14-DEV corrections et impot sur revenu
2024-04-02 14:56:04 +02:00
Laurent Destailleur
425f1cc522 Fix missing checkValForAPI 2024-04-02 14:53:01 +02:00
Laurent Destailleur
579e770ab0 Merge pull request #29174 from JonBendtsen/supplier_invoice_update_single_array_option_element
allow updating supplier invoice single Complementary Attribute
2024-04-02 14:49:52 +02:00
Laurent Destailleur
c64bba12ee Merge pull request #29171 from JonBendtsen/contact_update_single_array_option_element
allow updating contract single Complementary Attribute
2024-04-02 14:49:35 +02:00
Laurent Destailleur
aca00be04e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-02 14:49:02 +02:00