Commit Graph

15827 Commits

Author SHA1 Message Date
Laurent Destailleur
ea0fcd193c Fix CI 2025-10-22 22:31:51 +02:00
Laurent Destailleur
2efff17837 Fix deprecation 2025-10-22 20:06:24 +02:00
Laurent Destailleur
7f04762b17 Fix merge pb 2025-10-22 18:56:05 +02:00
Laurent Destailleur
4bae3f6eec Must use StudlyCaps or PascalCase for class name 2025-10-22 18:15:27 +02:00
Laurent Destailleur
7db8a7eadc Fix regression 2025-10-22 18:12:10 +02:00
Laurent Destailleur
c1831b76a3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-22 18:04:57 +02:00
Jon Bendtsen
1f47cfd583 NEW API for getting, adding, deleting and/or modifying email templates (#35853)
* NEW API for getting, adding, deleting and/or modifying email templates

* removing duplicate class formmail which has been moved to a separate file

* hurl file for testing the emailtemplates api

* more comprehensive tests of posting a new email template, all required fields and making sure that ID is rejected

* first GUI test of email templates

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-22 18:04:39 +02:00
Laurent Destailleur
e314c075a7 Removed property that seems not used. 2025-10-22 17:59:51 +02:00
Vincent Maury
27ed249561 NEW : add supplier payment mail template (#35877)
* Fix 35865 no formail displayed in supplier payment

* - add possibility to create custom mail template for supplier invoices payment
- add a default template
- add 2 new substitutions keys : __SUPPLIER_PAYMENT_INVOICES_LIST__ and  __SUPPLIER_PAYMENT_INVOICES_TOTAL__

* - add possibility to create custom mail template for supplier invoices payment
- add a default template
- add 2 new substitutions keys : __SUPPLIER_PAYMENT_INVOICES_LIST__ and  __SUPPLIER_PAYMENT_INVOICES_TOTAL__

---------

Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-22 17:44:01 +02:00
Laurent Destailleur
e3ff9e5c2d Clean code 2025-10-22 14:17:04 +02:00
Laurent Destailleur
481f3f1a9e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-22 11:06:14 +02:00
Laurent Destailleur
be351614e2 NEW DEV Can set color of the on/off button. 2025-10-22 11:05:59 +02:00
Vincent Maury
0ddd2b194f Fix 35865 no formail displayed in supplier payment (#35867)
Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-22 02:32:36 +02:00
VIAL-GOUTEYRON Quentin
7aa9633901 FIX : Perf for bom select (#35871)
* ADD: Option to optimize BOM combo list performance with search-based loading

* FIX: Remove debug backtrace and exit statement in security.lib.php

* FIX: Use dynamic database prefix in BOM combo list query

* FIX: Correct spacing issue in 'elseif' condition in bom.php
2025-10-22 00:58:55 +02:00
Frédéric FRANCE
c80858e712 fix CI branch v21 (#35876)
* fix CI

* add same fix than in develop
2025-10-22 00:51:20 +02:00
Ryad ABANI
3be9f0e9cc FIX: notification email not sent : NOTIFICATION_EMAIL_FROM is replaced with MAIN_MAIL_EMAIL_FROM if it's empty (#35881)
Co-authored-by: Ryad ABANI <ryad.abani@scopen.fr>
2025-10-22 00:45:15 +02:00
Lucas Marcouiller
ad67faa01d New all project contact in task creation (#35862)
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:13:10 +02:00
Alexandre SPANGARO
cdd4dde166 NEW Accountancy - Various payment - Add script to greyed out subledger_account if general ledger is not centralized (#35842)
* NEW Accountancy -  Add data-centralized in select_account()

* NEW Accountancy - Add script to greyed out subledger_account if general ledger is not centralized

* Fix phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-21 02:08:19 +02:00
Laurent Destailleur
4799705cd8 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-21 02:03:34 +02:00
Laurent Destailleur
d49426ef30 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-21 01:49:53 +02:00
Laurent Destailleur
3fca1d8cb1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-21 01:46:46 +02:00
Laurent Destailleur
f82675c729 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-10-21 01:40:55 +02:00
Laurent Destailleur
700b89d578 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-10-21 01:35:08 +02:00
Laurent Destailleur
a4b78f8230 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-10-21 01:34:22 +02:00
Marc de Lima Lucio
1f65548836 FIX: notifications: correctly report email delivery errors (#35864) 2025-10-20 23:53:07 +02:00
Laurent Destailleur
5604df683d Backup/Restore is cleaner 2025-10-20 15:12:35 +02:00
Laurent Destailleur
dabda44e8d Add more method in setup factory 2025-10-18 13:56:33 +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
f711fe9900 FIX Must show unit price when price is not for quantity 1 2025-10-17 18:59:32 +02:00
Laurent Destailleur
93a03691e1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 13:45:12 +02:00
Laurent Destailleur
d87d6d10a4 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 13:44:54 +02:00
Laurent Destailleur
c4528e39e3 Fix allowed styles in ckeditor 2025-10-17 13:41:01 +02:00
Laurent Destailleur
fefc2ef466 CSS 2025-10-17 03:28:23 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
John BOTELLA
0d8647975d Uiux : Data for invoices & Orders status badges (#35781)
* New data for invoices status badges

* add orders

* add module builder
2025-10-17 01:55:11 +02:00
Frédéric FRANCE
3f72cf2576 add facility to upload odt template (#35790)
* add facility to upload odt template

* add facility to upload odt

* add facility to upload odt

* add facility to upload odt
2025-10-17 00:45:05 +02:00
Laurent Destailleur
793f48dbff Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-16 19:42:43 +02:00
Laurent Destailleur
4fdf50752f doc 2025-10-15 12:31:30 +02:00
Marc de Lima Lucio
12bcdd0e80 QUAL: stop support of run_trigger (#34373)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-15 11:49:55 +02:00
Laurent Destailleur
f33ed7a702 FIX The IBAN into EPC qr code must use the default bank account if not
forced
2025-10-15 05:03:29 +02:00
Laurent Destailleur
56997cc06c FIX The IBAN into EPC qr code must use the default bank account if not
forced
2025-10-15 05:02:34 +02:00
Laurent Destailleur
634e27d1f1 Merge branch 'develop' into new-api-rest-tokens 2025-10-15 03:41:05 +02:00
Jon Bendtsen
153dadf6aa FIX #35318 better array check fields_label (#35750)
* FIX #35318 better array check fields_label

* Update html.formwebportal.class.php

* Update extrafields.class.php

* Update commonobject.class.php

* Update ajaxextrafield.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-15 02:30:48 +02:00
Frédéric FRANCE
51629b1949 clean code (#35736)
* clean code

* no element line

* no element line

* no element line

* no element line

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-15 01:06:26 +02:00
Laurent Destailleur
2d75809b9f Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-14 23:29:38 +02:00
Laurent Destailleur
d343c75aac Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-14 23:28:46 +02:00
Frédéric FRANCE
f6db1af7a8 fix CI v21 html.formmail.class.php (#35760) 2025-10-14 22:53:25 +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
noec764
7faa7e81f2 FIX: Email template fetching (#35738)
* FIX: Email template fetching

* Change to oneline condition

* FIX Space instead of tabs

---------

Co-authored-by: Noé <noe@scopen.fr>
2025-10-14 19:56:03 +02:00