Commit Graph

7536 Commits

Author SHA1 Message Date
Laurent Destailleur
bc7d5d21e3 Clean code 2025-12-30 16:21:15 +01:00
Laurent Destailleur
17f6d584ce Debug v23 2025-12-30 14:53:03 +01:00
MDW
479000631d Qual: Update type hints in supplier order class
# Qual: Update type hints in supplier order class

- Update type hints for `$price_base_type` to be either 'HT' or 'TTC'
- Update type hints for `$type` and `$notrigger` to be integers between 0 and 1
2025-12-14 21:39:56 +01:00
Laurent Destailleur
2d0c554011 Debug v23 Missing button for Prepare Credit Transfer 2025-12-10 15:33:33 +01:00
Laurent Destailleur
b4d659d8d9 CSS 2025-12-09 11:46:30 +01:00
Laurent Destailleur
f7114175ab Merge v22 2025-12-06 05:06:24 +01:00
Laurent Destailleur
b4589e846d FIX info on supplier payment card on v22 and payment link 2025-12-06 04:18:38 +01:00
Laurent Destailleur
13e6a7b936 Debug v23 2025-12-05 12:55:20 +01:00
Laurent Destailleur
757e01eaaa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:58:00 +01:00
Laurent Destailleur
1cd7de6e21 Better compatibility 2025-12-04 20:57:43 +01:00
Laurent Destailleur
e49f907cdc Merge pull request #36511 from lelex86/lelex86-patch-1
FIX: use suspended status in FactureFournisseurRec::updateline()
2025-12-04 20:57:04 +01:00
Laurent Destailleur
e350886c15 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:38:22 +01:00
Laurent Destailleur
193a42cd47 Fix #36520 2025-12-04 19:02:57 +01:00
Laurent Destailleur
9392e0a9b6 CSS 2025-12-03 21:39:31 +01:00
lelex86
f6e667da1a FIX: use suspended status in FactureFournisseurRec::updateline()
- The method checks `$this->status == self::STATUS_SUSPENDED`.
- For recurring **supplier** invoices, `$this->status` is not populated (it is always `null`).
- The real field used to store the suspended flag of the template is `$this->suspended`.
2025-12-03 09:59:03 +01:00
Laurent Destailleur
f0f2afd7a3 Fix action type for button action Email 2025-11-26 13:41:16 +01:00
Expresion
bab874a669 Fix: update buying price during receipt (#36419)
Fix bad SQL when batch product

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-26 01:57:17 +01:00
Laurent Destailleur
0c8581f80d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-24 16:23:07 +01:00
Regis Houssin
0aa6652005 FIX #35141 (#36390)
* FIX #35141

* FIX avoid problem with chinese language
2025-11-24 16:03:38 +01:00
Laurent Destailleur
e35028646e Debug v23 2025-11-23 16:33:38 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
MDW
96e35c7a33 Fix: PhanTypeMismatchProperty error in invoice creation (#36323)
* 🐛 Fix PhanTypeMismatchProperty error in invoice creation

The error occurred due to incorrect type handling in the invoice creation process. The changes fix this by properly handling the subtype field as an integer. This ensures type consistency and prevents potential runtime errors.

* FIX: Correct assignment to linkedObjectsIds  in card.php

# FIX: Correct assignment to linkedObjectsIds  in card.php

Modified the structure of linkedObjectsIds to include the rowid as a key to match the property type.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:16:00 +01:00
iouston
c4f1dbddbb Add product type check in line validation (#36319)
* Add product type check in line validation

needed by sous total plugins style which use line with type 9 for title, subtitle or free text. without the chek inb line validation, title, sub title or free text disappears

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 13:17:48 +01:00
Laurent Destailleur
292b235241 Fix CI 2025-11-19 13:14:48 +01:00
Laurent Destailleur
c65e03ecb6 Fix CSS 2025-11-19 13:01:35 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
Laurent Destailleur
a7c82c020d Fix CI 2025-11-17 20:01:07 +01:00
Laurent Destailleur
545a0f5532 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 16:00:08 +01:00
Laurent Destailleur
aa49882be0 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 15:59:50 +01:00
Regis Houssin
d028d0d81b FIX $param is the 5th parameter of print_liste_field_titre ($moreparam) (#36250)
* FIX $param is the 5th parameter of print_liste_field_titre ($moreparam)

* FIX phan error

* FIX other errors
2025-11-14 15:55:35 +01:00
HeilDenDus
0f297eea96 add show and filter in fields public and private notes (#36255) 2025-11-14 15:36:22 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Laurent Destailleur
2880feaea5 Fix CI 2025-11-09 20:05:09 +01:00
MDW
c39e87d703 Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
Frédéric FRANCE
e343b4ab1f clean code (#36166)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-08 14:01:19 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Laurent Destailleur
98382cb0bb Look and feel v23 2025-11-07 13:58:21 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
HENRY Florian
afd44449c1 FIX: MAIN_AUTOFILL_DATE in supplier invoice display 01/01/1970 (#36087)
* FIX: MAIN_AUTOFILL_DATE in supplier invoice display 01/01/1970

* fix: php8 warning

* fix: review

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-05 22:32:02 +01:00
atm-adrien
d221d5eb6d FIX : Wrong cast on TVA rate when updating supplier order lines (#36106)
* FIX : Wrong cast on TVA rate when updating supplier order lines

* FIX : indent
2025-11-05 22:26:30 +01:00
Frédéric FRANCE
2b0c118601 fix phpdoc for tva in fournisseur.commande.class.php (#36109) 2025-11-05 22:22:32 +01:00
MDW
b925dd6c37 Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
Laurent Destailleur
74cc41c460 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-03 14:27:58 +01:00
Laurent Destailleur
94d1a25d67 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-03 14:10:57 +01:00
ldestailleur
62760d6195 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-03 14:05:58 +01:00
Laurent Destailleur
d8d77a8e51 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-11-03 13:57:49 +01:00
Laurent Destailleur
af13e3354b Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-11-03 13:57:15 +01:00
Regis Houssin
17bb284e0c FIX missing "printFieldListValue" hook (#35990)
* FIX missing "printFieldListValue" hook

* FIX add action paramter

* FIX remove duplicate object
2025-11-01 03:28:51 +01:00
Frédéric FRANCE
df5588b3e1 clean code (#36009) 2025-11-01 02:38:29 +01:00
Frédéric FRANCE
f1a418f042 clean code (#36016)
* clean code

* clean code

* clean code
2025-11-01 00:31:43 +01:00