Commit Graph

40576 Commits

Author SHA1 Message Date
Laurent Destailleur
c5b4faffe7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-19 17:56:22 +02:00
Laurent Destailleur
02216080f6 Fix picto 2025-10-19 17:54:52 +02:00
Frédéric FRANCE
1e329f2325 clean code (#35843)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-19 17:09:54 +02:00
Frédéric FRANCE
4bc77ebcda clean phpstan baseline (#35836)
* clean phpstan baseline

* clean phpstan baseline
2025-10-19 01:56:26 +02:00
MDW
66683105f1 Qual: Fix phan notices (#35827)
# Qual: Fix phan notices

Some type hints updates + correction to get week from date (action/pertype.php)
+ check that value is not null (pdf_* classes).
2025-10-18 19:10:43 +02:00
Frédéric FRANCE
05e6c8ce11 Fix phpstan (#35828)
* clean phpstan baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline
2025-10-18 19:09:52 +02:00
Laurent Destailleur
dabda44e8d Add more method in setup factory 2025-10-18 13:56:33 +02:00
Frédéric FRANCE
3d852682ec clean baseline (#35822)
* clean baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline
2025-10-18 11:20:54 +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
Christophe Battarel
e81cca858e NEW: import subscriptions (#35612)
* NEW: import subscriptions

* remove bad code

* FIX: already declared property is not needed

* Update subscription.class.php

* FIX: change format to please php-stan

* ENH: DolibarrModules::$import_convertvalue_array value format

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
Co-authored-by: Noé Cendrier <noe.cendrier@altairis.fr>
Co-authored-by: Noé Cendrier <81741011+altairis-noe@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 18:24:40 +02:00
Josep Lluís
0245482bc6 NEW Add configuration for default timesheet menu (#35805)
* Add configuration for default timesheet menu

Using PROJECT_OPEN_ALWAYS_ON_TIMESHEET config, you can use variables "perweek" (default), "perday" or "permonth"

* Update eldy.lib.php

* Fix default value for optionTimesheet variable

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 15:50:47 +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
c902b2eeed Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-17 13:41:12 +02:00
Laurent Destailleur
c4528e39e3 Fix allowed styles in ckeditor 2025-10-17 13:41:01 +02:00
Laurent Destailleur
be803918dd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 03:50:50 +02:00
Laurent Destailleur
5da33763d2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 03:50:31 +02:00
Alexandre SPANGARO
88607b2eda QUAL Accountancy - Use xxx_prepare_head() on accounting transaction (#35778)
* QUAL Accountancy - Use xxx_prepare_head() on accounting transaction

* Fix phpstan

* Fix phpstan

* Fix according to Frederic

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 03:46:20 +02:00
Laurent Destailleur
b395cee7c8 Use position on each numbering module 2025-10-17 03:33:54 +02:00
Christophe Battarel
6e184d4195 NEW : add free numbering module for members (#35636)
* NEW : add free numbering module for members

* fix next value

* fix codesniffer

* fix phan

* fix missing class declaration

* rename module

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2025-10-17 03:29:57 +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
Laurent Destailleur
2dbf41e058 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-17 01:51:37 +02:00
Laurent Destailleur
c7a61226fb FIX #35784 2025-10-17 01:50:10 +02:00
Laurent Destailleur
67428766a2 FIX #35784 2025-10-17 01:48:32 +02:00
Laurent Destailleur
4c5a256088 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 01:03:06 +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
5d3c80e0af FIx try a better fo for #35792 2025-10-16 21:19:00 +02:00
Laurent Destailleur
ef44576079 Fix bad test on non existing $result 2025-10-16 21:13:00 +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
Regis Houssin
f85108b8ac FIX check if category module is enabled (#35770) 2025-10-15 18:59:33 +02:00
Regis Houssin
e84ea68218 FIX wrong getEntiy element name (#35771) 2025-10-15 18:58:53 +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
lvessiller-opendsi
f8218fe64b NEW const MENU_HIDE_EMAIL_TEMPLATES to hide email templates setup in Tools menu (#35739)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-15 11:33:48 +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
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
Charlène Benke
e9d1e719e6 warning error if realpath is not empty before use (#35740) 2025-10-14 22:13:43 +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
Alexandre SPANGARO
eb91e09a50 NEW Accountancy - Add a protection on various payment for auxiliary account on general account not centralized (#35720) 2025-10-14 20:57:01 +02:00
Frédéric FRANCE
3c597c263d clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +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