Commit Graph

2605 Commits

Author SHA1 Message Date
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
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
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
Frédéric FRANCE
bda086bf0e add missing translation and clean code (#35956)
* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add doc

* add doc
2025-10-29 22:25:23 +01:00
Frédéric FRANCE
7342a58044 clean phpstan baseline for supplier invoice class (#35945)
* clean phpstan baseline for supplier invoice class

* clean phpstan baseline for supplier invoice class
2025-10-28 01:25:46 +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
Frédéric FRANCE
675ec205f4 clean phpstan baseline (#35946) 2025-10-25 22:53:09 +02:00
Frédéric FRANCE
16371177ac fix doc (#35923) 2025-10-24 18:29:27 +02:00
Laurent Destailleur
e7672cd9e5 Fix critical regression in cast 2025-10-19 18:47:20 +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
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
Laurent Destailleur
025aefb69c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-14 21:18:09 +02:00
Laurent Destailleur
d0634c5b93 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-14 21:12:47 +02:00
Laurent Destailleur
ee08f8a0b6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-14 21:12:24 +02:00
Esteban Thilliez
2d62fc3c59 CLOSE #35716 Supplier invoices API endpoint to mark invoice as paid or unpaid (#35717)
Supplier invoices API endpoints to mark invoice as paid or unpaid, implemented exactly the same way it is implemented for client invoices.
2025-10-14 19:58:33 +02:00
Regis Houssin
cc22f978cd FIX wrong field name (#35728) 2025-10-14 18:45:26 +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
ldestailleur
fbfeb5c978 Clean code 2025-10-04 14:12:46 +02:00
Francis Appels
9b071f22c2 Use trigger prefix product also for supplier product. (#35566)
* Use trigger prefix product also for supplier product.

* Add explication TRIGGER_PREFIX for developers
2025-10-03 09:00:39 +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
ldestailleur
a43bf46a75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-26 01:27:00 +02:00
ldestailleur
f65903d006 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-26 01:23:02 +02:00
ldestailleur
369b9510e0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-26 01:21:57 +02:00
John BOTELLA
cd69b8deb1 Fix history tooltip display (#35464) 2025-09-24 10:37:53 +02:00
ldestailleur
15f34dbbb0 QUAL: Removed deprecated properties user_valid, user->creation,
user_modification replaced with user_ceation_id, user_validation_id and
user_modification_id.
2025-09-21 14:58:38 +02:00
ldestailleur
27c725f5ca Clean code 2025-09-21 14:29:34 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +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
ldestailleur
4416bcb3ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-11 12:25:34 +02:00
ldestailleur
702d91c65d Clean code 2025-09-11 12:25:22 +02:00
Fabian Volkers
db103f37df Add POST /supplierorders/{id}/line endpoint to REST API (#35286)
* ✏️ Fix spelling

*  Add postLine endpoint to supplier_orders

* 🐛 Fix accessing this->commande instead of this->order
2025-09-11 12:12:18 +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
Frédéric FRANCE
0e1478206a clean code (#35229)
* 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

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +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