Commit Graph

9326 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
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
3d852682ec clean baseline (#35822)
* clean baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline

* clean baseline
2025-10-18 11:20:54 +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
Laurent Destailleur
5da33763d2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-17 03:50:31 +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
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
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
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
Regis Houssin
f85108b8ac FIX check if category module is enabled (#35770) 2025-10-15 18:59:33 +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
59009d67a5 FIX Accountancy - Printing the subsidiary ledger returns the general ledger (#35719)
* Update listbyaccount to transfer type="sub" information

* Detail by subsidiary account

* Fix typo
2025-10-14 19:53:08 +02:00
Laurent Destailleur
d37b717844 Debug v23 2025-10-13 21:57:19 +02:00
Laurent Destailleur
394e35d00b Clean code 2025-10-13 11:34:57 +02:00
ldestailleur
435d10b887 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-12 13:57:49 +02:00
Alexandre SPANGARO
b77850521b FIX Accountancy - Print subledger balance return general balance (#35712)
* FIX Accountancy - Print subledger balance return general balance

* Update pdf_balance.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 15:31:04 +02:00
Wilson
e3ad771149 NEW Allow omission of ODT template name when generating ODT and PDF (#35701)
Presently, Invoice PDF/ODT is generated with template name just before file extension.
This creates an issue where Mass Actions is also unable to perform Send By Email, or PDF Merge.
This pull request is inspired by this forum post:

https://www.dolibarr.org/forum/t/how-to-remove-omit-odt-templete-name-from-auto-document-generated/22735

Co-authored-by: Wilson <wilson@Wilsons-MacBook-Air.local>
2025-10-11 14:03:54 +02:00
sonikf
0d10df9065 Fix accountancy pdfs (#35686)
* Add missing translation

* fix translation for non latin languages and add space

* Add missing translation

* Add translations 

DebitShort and CreditShort

* fix space

* fix translation for non latin languages

* fix translation for non latin languages

* fix trans

* fix missing separator line

* Add missing separator line

* fix translation for non latin languages

* Add missing translation

* Update pdf_balance.modules.php

* check if translation for AccountancyGroupXXX exists

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 13:50:14 +02:00
ldestailleur
77d7d17d4c Removed function getImgPictoNameList from functions.lib.php (useless) 2025-10-10 14:45:07 +02:00
ldestailleur
3403bbe869 NEW Enhance the system for warnings on module activation 2025-10-10 10:16:33 +02:00
ldestailleur
a162de2455 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-09 18:47:52 +02:00
VIAL-GOUTEYRON Quentin
de6a6ef039 Fix: [Import] Prevents $keyfield variable overwrite when processing hidden fields (#35693)
* FIX: prevent duplicate key fields and improve field handling in import_xlsx and import_csv modules

* FIX: remove leftover debug statement in import_xlsx module
2025-10-09 18:22:32 +02:00
ldestailleur
8c77b76400 No risk on compatiblity 2025-10-09 13:22:45 +02:00
ldestailleur
d17f13f149 FIX detection of setup not done with
MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING
2025-10-09 13:13:51 +02:00
ldestailleur
8dd55d5a33 FIX Concat of PDF to invoices 2025-10-08 12:28:35 +02:00
Frédéric FRANCE
152cc48585 clean code (#35677)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-07 23:30:13 +02:00
Frédéric FRANCE
2078610328 add dolBuildUrl with examples of use (#35549)
* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* wip

* wip

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add example

* add example

* add example

* add example

* add example

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* add example

* add example

* add example

* add example

* add example

* add example

add example

add example

add example

add example

* add example

* add example

add example

add example

add example

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* wip

* wip

* clean code
2025-10-06 18:17:02 +02:00
ldestailleur
2da06f9fb1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-06 01:37:53 +02:00
Frédéric FRANCE
78ca88f4fc clean code (#35640)
* 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-10-05 16:51:29 +02:00
Frédéric FRANCE
a15c3a4ff2 fix members cards (#35639)
* fix members cards

* fix

* fix members cards
2025-10-04 20:02:49 +02:00
Frédéric FRANCE
3b3c5a53d3 fix example captcha (#35620)
* fix example captcha

* Update modCaptchaStandard.class.php
2025-10-03 16:06:54 +02:00
ldestailleur
8b82ff4fd1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-03 13:01:15 +02:00
ldestailleur
a9c0a59d59 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-03 13:00:22 +02:00
ldestailleur
1eeee0ab80 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-03 12:58:31 +02:00
ldestailleur
e0df46e5c4 Comment to discourage use of always_enabled to true. 2025-10-03 12:39:33 +02:00
Christophe Battarel
4f75fb7f8a FIX : bad name for target import table (#35615)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2025-10-03 11:38:46 +02:00
ThomasNgr-OpenDSI
de49d24d1b QUAL Remove duplicate code block (#35591)
* QUAL Remove duplicate code block

* fix PHPStan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-03 10:04:27 +02:00
Laurent Destailleur
d26fb57e52 Fix CI 2025-10-02 16:28:29 +02:00
Pierre Ardoin
30d66bcdd8 UIUX adds a new permission that restricts the user to seeing their salaries and only those. (#35293)
* Update admin.lang

Add translate "Permission511=Lire les salaires et leur paiement (les vôtres et ceux de vos subordonnées)" and move old 511->512 and 512->513.

* Update modSalaries.class.php

Add the new permission 'Read employee salaries and payments (yours only)'

* Update list.php

add the new permission filter "read child"

* Update payments.php

Add the new permission "readchild"

* Update index.php

Add support off new permission

* Update index.php

* Update index.php

* Update index.php

* Update list.php

* Update list.php

* Update list.php

* Update payments.php
2025-10-01 17:49:35 +02:00
Frédéric FRANCE
3785dd2d17 clean code (#35567)
* clean code

* clean code

* clean code
2025-10-01 13:30:02 +02:00
Frédéric FRANCE
e0fd1bdd3e clean code (#35545) 2025-09-29 20:41:32 +02:00
Frédéric FRANCE
33ca6820a2 add doc (#35516)
* add doc

* add doc

* add doc

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-27 22:08:13 +02:00
ldestailleur
e45fe1f988 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-27 15:57:27 +02:00
ldestailleur
8b58b215b4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-27 15:48:40 +02:00
ldestailleur
fe28e36638 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-27 15:42:44 +02:00