Commit Graph

1232 Commits

Author SHA1 Message Date
Laurent Destailleur
125d97cf5d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-16 21:23:48 +01:00
Laurent Destailleur
5433a5642d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-16 21:21:13 +01:00
Laurent Destailleur
bff98ad817 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-16 21:11:20 +01:00
Laurent Destailleur
7ccd12e865 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-16 21:08:22 +01:00
Laurent Destailleur
e596bdada1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-02-08 15:53:06 +01:00
Laurent Destailleur
7f9bdc5f45 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-02-08 15:50:12 +01:00
Laurent Destailleur
f30acef13a Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-29 16:48:26 +01:00
Laurent Destailleur
75ae360898 Fix type 2026-01-29 15:20:52 +01:00
Laurent Destailleur
0e4243a994 Debug v23 2026-01-29 15:13:29 +01:00
Laurent Destailleur
c1456e9db9 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-29 13:14:14 +01:00
Sylvain Legrand
70b3be5e7f Fix from V22 (#35559)
Using a packaging with a float value less than 1 (0.1, 0.5, etc.) generates a 500 error (division by 0)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Eric - CAP-REL <1468823+rycks@users.noreply.github.com>
2026-01-29 13:02:25 +01:00
Laurent Destailleur
285371f49e Debug v23 - fix code for rounding 2026-01-29 13:01:49 +01:00
atm-corentin
9c04379799 NEW : add support for label field in addline method In supplier order (#36544)
* add support for label field in addline method to set description when empty

* update
2026-01-16 11:12:47 +01:00
Frédéric FRANCE
d770d37e29 add phpcs rule extension (#36561)
* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* test

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* Update propal.class.php
2026-01-15 16:05:06 +01:00
Frédéric FRANCE
b369576a9d NEW add support of subtotals on more objects (#34125)
* add more subtotals

* add more subtotals

* class

* class

* wip

* wip

* wip

* wip

* doc

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix

* fetch extraparams

* add confirms

* add options

* add options

* add options

* add options

* add options

* add options

* add options

* fix

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2026-01-06 15:58:06 +01:00
Frédéric FRANCE
e6249eee32 fix phpstan for v23 (#36774)
* fix phpstan

* Update functions.lib.php

* Update admin.lang

* Update errors.lang

* Update fournisseur.commande.class.php

* Update fournisseur.commande.class.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php
2026-01-05 12:48:07 +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
13e6a7b936 Debug v23 2025-12-05 12:55:20 +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
Frédéric FRANCE
4ac3c3f8b6 clean phpstan baseline of supplier order class (#35942)
* clean phpstan baseline of supplier order class

* clean phpstan baseline of supplier order class

* clean phpstan baseline of supplier order class

* clean phpstan baseline of supplier order class

* clean phpstan baseline of supplier order class

* clean phpstan baseline of supplier order class
2025-10-25 22:55:06 +02:00
Laurent Destailleur
738b85abcd Fix PHP doc regression 2025-10-19 18:38:10 +02:00
Laurent Destailleur
2c65efad96 Fix php doc 2025-10-19 18:32:25 +02:00
Frédéric FRANCE
18c29d0e40 fix tva can be sometimes string instead float (#35835) 2025-10-18 19:12:01 +02:00
Vincent Maury
b28b94821f NEW #35700 : Throw an error when validating a propal, order, supplier with a product no more in sale/purchase… (#35709)
* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Update commonobject.class.php

* Refactor checkActiveProductInLines method

* Fix comment formatting in commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-18 11:19:31 +02:00
Laurent Destailleur
f0c61790eb Clean code 2025-10-17 23:43:28 +02:00
Laurent Destailleur
31989adc1f Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-14 21:38:13 +02:00
MDW
234fa7690f Qual: Update phan baseline & minor fix (#35638)
# Qual: Update phan baseline & minor fix

Fix new phan notice using cast of potential null value.
Remove unneeded exceptions from baseline.
2025-10-04 20:03:38 +02:00
Laurent Destailleur
ba2466a008 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-02 16:00:44 +02:00
Laurent Destailleur
2e9ec3a9da Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-02 15:59:53 +02:00
Laurent Destailleur
a046419145 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-02 15:59:08 +02:00
Laurent Destailleur
b0d08278f0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-02 15:53:12 +02:00
Laurent Destailleur
b2fce5052f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-02 15:52:05 +02:00
Regis Houssin
24146d89c5 FIX #35568 (#35569)
* FIX #35568

* FIX clear "thirdparty" object before or during the fetch

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-01 19:54:50 +02:00
Frédéric FRANCE
8fa1df6560 clean code (#35518)
* clean code

* fix

* fix

* clean code
2025-09-28 13:58:30 +02:00
kkhelifa-opendsi
a9cd1d2bb9 New : Copy support of the deposit percent of the payment mode found in customer proposal, customer order and customer invoice to supplier proposal, order and invoice (#35432)
* New : Copy support of the deposit percent of the payment mode found in customer proposal, customer order and customer invoice to supplier proposal, order and invoice

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI
2025-09-26 23:59:51 +02:00
Frédéric FRANCE
078da229c8 clean code (#35352)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* Clean code

* Clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-17 14:11:32 +02:00
Frédéric FRANCE
e81d5378cd clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
ldestailleur
343ec2684b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-05 12:08:25 +02:00
ldestailleur
300b840311 Fix warning 2025-09-05 12:08:13 +02:00
Frédéric FRANCE
617e922a3a fix broken workflows (#35226)
* fix broken workflows

* Update ci-on-push.yml

* Update fournisseur.commande.class.php

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-05 12:01:57 +02:00
ldestailleur
d7204bbb19 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-04 17:32:58 +02:00
ldestailleur
f82283a22e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-04 17:32:04 +02:00
ldestailleur
5832cfc198 Fix CI 2025-09-04 15:36:54 +02:00
Frédéric FRANCE
006a12d191 fix CI (#35215)
* fix CI

* Update fournisseur.commande.class.php
2025-09-04 13:22:32 +02:00
ldestailleur
8a1ec5634f Clean code between subprice/pu_ht and subprice_ttc/pu_ttc 2025-09-03 22:29:36 +02:00
ldestailleur
b7135a24e5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-03 16:09:40 +02:00
ldestailleur
0255512c1c The signature of the Sale order ->cancel() method and shipment
->cancel() has been modified to introduce the $user param like for other
methods that modify a status.
2025-09-03 16:08:09 +02:00
Frédéric FRANCE
a1d7b11324 fix doc (#35196) 2025-09-03 12:54:17 +02:00
Frédéric FRANCE
568c65568a clean code (#35175)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-02 22:51:34 +02:00