Commit Graph

15325 Commits

Author SHA1 Message Date
Laurent Destailleur
dea8957ec0 Merge pull request #36622 from rlaurent-alb/22.0
FIX | Fixing addPayment /invoices/id/payments
2025-12-15 14:25:24 +01:00
splohmer
65134e0746 FIX: SQL error for LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED
sql error fix for mentioned secret parameter
2025-12-15 11:12:07 +01:00
Rayan LAURENT
77f4fc7b76 FIX | Fixing addPayment /invoices/id/payments
Fixing the API route as it is currently impossible to pay a Facture::TYPE_CREDIT_NOTE with this route (it keeps negating the ttc amount used as resteapayer), inspired by the other route /paymentsdistributed, line 1717.
2025-12-11 18:48:18 +01:00
Laurent Destailleur
4ea6af9535 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-05 16:38:15 +01:00
Laurent Destailleur
2e46ac45c5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-05 16:34:02 +01:00
Laurent Destailleur
a098185476 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-05 16:27:07 +01:00
Laurent Destailleur
222cd76799 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-12-04 18:53:04 +01:00
Florian HENRY
a38ffa02ac fix: subtotal feature button availablity according setup 2025-12-04 10:18:01 +01:00
Eric - CAP-REL
2ebdcfda5c Merge pull request #35788 from Easya-Solutions/18_allow_credit_invoice_on_situation
FIX : remove useless condition to create credit on situation invoice …
2025-12-04 09:56:30 +01:00
Regis Houssin
0aa6652005 FIX #35141 (#36390)
* FIX #35141

* FIX avoid problem with chinese language
2025-11-24 16:03:38 +01:00
VESSILLER
1cd3ca3222 FIX undefined variables on create invoice from shipment card (backport from v20) 2025-11-24 10:30:08 +01:00
Regis Houssin
0e1ac03fb0 FIX #36347 (#36358) 2025-11-21 11:15:34 +01:00
Laurent Destailleur
f4798ee87f Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 20:48:14 +01:00
Laurent Destailleur
9997e8ea44 Fix CI 2025-11-20 20:41:20 +01:00
Laurent Destailleur
1c6cc1a554 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 20:32:40 +01:00
Laurent Destailleur
934536a1e1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-20 20:28:30 +01:00
Laurent Destailleur
734ef58a2a Fix CI 2025-11-20 20:27:43 +01:00
Laurent Destailleur
10c0de4467 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 11:55:18 +01:00
Laurent Destailleur
ae131796d6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-20 11:51:51 +01:00
Laurent Destailleur
ecda16a5f6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-11-20 11:48:23 +01:00
Laurent Destailleur
515a615915 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-11-20 11:44:40 +01:00
lvessiller-opendsi
4dcbd826e6 Merge pull request #35812 from Easya-Solutions/18__fix_situation_remove_from_cycle
FIX remove situation invoice from cycle
2025-11-20 10:03:02 +01:00
Florian Mortgat
8e30fc0bd1 FIX 19.0 - attachments upload dir for invoices not always determined correctly (doesn't always take multi-entity into account) (#36302) 2025-11-18 11:39:45 +01:00
Regis Houssin
2027f9c951 FIX avoid php warnings (#36301) 2025-11-18 11:31:38 +01:00
Laurent Destailleur
e57703a6b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-14 15:42:25 +01:00
Marc de Lima Lucio
4528a3dac0 FIX: customer invoices: bad totals because of situation progress (#36253) 2025-11-14 15:39:07 +01:00
Laurent Destailleur
ff1e31d239 Merge 2025-11-07 18:53:37 +01:00
splohmer
b2ab49a7c0 Fix: sql error if LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED is used (#36135)
* Fix: sql error if LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED is used

* Refactor SQL order and limit handling

* Update SQL query to limit qualified invoices

* Update facture.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-06 19:04:35 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
Regis Houssin
0fd19787e2 FIX #36113 (#36116) 2025-11-05 22:47:51 +01:00
Regis Houssin
2dc94a0244 FIX missing entity field (#36086) 2025-11-05 22:33:36 +01:00
Laurent Destailleur
8859dbdb79 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-04 12:53:15 +01:00
Frédéric FRANCE
c8d42248c2 fix CI V21 (#36078)
* Update phpstan.neon.dist

* Update phpstan-baseline.neon

* Update phpstan-baseline.neon

* Update phpstan-baseline.neon

* Update index.php

* Update facture.class.php

* Update facture.class.php
2025-11-04 12:25:24 +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
Laurent Destailleur
e7a1e58ebf Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-11-03 13:51:38 +01:00
Laurent Destailleur
534d4ed4bc Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-11-03 13:49:06 +01:00
Laurent Destailleur
50b90d795c Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2025-11-03 13:48:51 +01:00
Laurent Destailleur
3209eb4bd8 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2025-11-03 13:46:49 +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
atm-adrien
68fc03caae FIX : Situation percent set as 0 when adding line on situation invoices (#35999) 2025-10-29 17:05:43 +01:00
Guido Schratzer
ea2543e9e4 FIX #35766: Update buying price INT Float (#35769)
* FIX #35766: Update buying price INT Float
loose Decimals

.

* Fix: keep fk_product_fournisseur_price as int; treat buying price as float (no truncation) [#35766]

* Updated per feedback: keep fk_product_fournisseur_price as ?int (rowid) and  as float.
Adjusted FactureRec::updateline PHPDoc to ?int  and float|''  (model still normalizes via price2num).
Tested on a recurring line: decimals preserved, FK stored as int, CI green. Minor adjustments before v22 backport

* Delete .hooktest

* Delete dev/tools/pre-commit/README.md

* Delete test/phpunit/phpunit.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-18 11:55:58 +02:00
tnegre
66d72d0bba FIX allow a situation with credit to be removed from cycle 2025-10-17 14:13:25 +02:00
tnegre
8ddf9f6075 FIX : remove useless condition to create credit on situation invoice (#35786) 2025-10-16 11:57:49 +02:00
Laurent Destailleur
1a4a0e14d4 FIX Bad label for column title on multicurency 2025-10-14 16:30:54 +02:00
Laurent Destailleur
41634d08ca NEW Add option PROJECT_CAN_ALWAYS_LINK_TO_ALL_CUSTOMERS 2025-10-13 14:30:45 +02:00
lvessiller-opendsi
50afc9682b FIX create invoice from order using API and multi-entity (#35654)
* FIX create invoice from order using API and multi-entity

* FIX API not allow to access order in other entity on creating invoice from order

* Update api_invoices.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-06 13:56:50 +02:00
Alexandre R
d7063122a2 FIX invoices payments on multicurrencies being converted as int (#35622)
* fix invoices payments on multicurrencies being converted as int

* Update paiement.php

---------

Co-authored-by: A.R <alexandre.rivas69@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 19:04:49 +02:00