Commit Graph

1309 Commits

Author SHA1 Message Date
Laurent Destailleur
c89d710fdd Fix ci 2026-01-21 12:47:45 +01:00
Laurent Destailleur
eff943bbcf Fix false positive 2026-01-21 12:14:27 +01:00
Laurent Destailleur
ff4b7c54d8 Fix CI 2026-01-20 13:56:52 +01:00
Laurent Destailleur
b79ade4c1f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-01-19 21:18:00 +01:00
Laurent Destailleur
3e3e2a3759 Fix CI 2026-01-19 21:06:51 +01:00
Laurent Destailleur
3b23e76237 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-19 18:18:27 +01:00
Laurent Destailleur
7d62a04fda Fix CI 2026-01-19 18:16:57 +01:00
Laurent Destailleur
60fbdb1bc9 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-19 14:48:06 +01:00
Laurent Destailleur
6ed576bc9f Debug v23 2026-01-19 14:28:33 +01:00
Alexandre SPANGARO
8838ad7636 UX Accountancy - Card - Add link to element (#36452)
* UX Accountancy - Card - Add link to element

* CI
2026-01-16 11:31:20 +01:00
Laurent Destailleur
b487a95d86 Fix export for quadratus 2026-01-14 14:27:16 +01:00
Laurent Destailleur
053cd4e020 Init var 2026-01-14 14:13:13 +01:00
Laurent Destailleur
3e2598f8ff FIX Debug v23 - Pb in export accountancy. Var not defined. Missing
conditions for dol_dir_list. Pb cache not used when not found. Header
set at end.
2026-01-14 14:04:53 +01:00
Laurent Destailleur
b50858e6a3 Merge branch 'develop' into 24_Quadra 2025-12-22 17:24:48 +01:00
Laurent Destailleur
8abeb47da1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:06:05 +01:00
Alexandre SPANGARO
b8fd5f83b1 Update Quadra Export 2025-12-21 07:55:28 +01:00
Laurent Destailleur
03151795a4 Merge pull request #36611 from aspangaro/22_fixasset6
FIX Accountancy - Verify fiscal year on last hour to enable the integration of asset entries
2025-12-15 15:48:38 +01:00
Laurent Destailleur
454eb415ca Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-15 15:43:55 +01:00
Alexandre SPANGARO
a9d41338d0 Problem on request for category on account 2025-12-14 22:06:13 +01:00
Alexandre SPANGARO
ecfbc8293b Problem on request for category on account 2025-12-14 07:03:17 +01:00
Alexandre SPANGARO
621625e082 FIX Accountancy - Verify fiscal year on last hour to enable the integration of asset entries 2025-12-11 05:44:15 +01:00
Alexandre SPANGARO
e36c34b48d Update request 2025-12-11 04:25:53 +01:00
Alexandre SPANGARO
f8c66e9199 FIX Accountancy - No limit on chart of account to define category on account 2025-12-09 06:50:15 +01:00
Alexandre SPANGARO
67d7fa8f78 FIX Accountancy - Not propose to write operation on draft asset 2025-12-05 06:47:49 +01:00
Alexandre SPANGARO
7e2f7f163d Accountancy - Resolve some problem on new function "Discount in accountancy" (#36285)
* FIX Accountancy - Discount wrong function & problem HTML injection

* FIX Accountancy - Wrong base for already / not yet function - Piece_num is not enough strong et editable

* FIX Accountancy - Discount - Use closing date rather than the invoice date

* FIX

* PHPPhan

* Update accountingjournal.class.php

* Update accountingjournal.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:43:27 +01:00
Laurent Destailleur
bba8884d13 Clean code 2025-11-18 11:48:33 +01:00
Laurent Destailleur
bdb6c47b0b Fix CI 2025-11-17 21:32:29 +01:00
MDW
3b04eacf98 Qual: Fix multiple phpstan notices (#36083)
* Qual: Fix phpstan - type casting in treasuryjournal.php

Added explicit type casting to float calculations.

* Qual: Fix phpstan by testing possibly undefined $def_tva in VAT label generation

* Qual: Add null initialization for static analysis

Initialize $save_link_by_element and $save_element_by_link with null values to satisfy static analysis requirements (phpstan) and avoid possibly undefined notices.

* Qual:(accountingjournal): Ignore line for phpstan

phpstan can not see that $pre_data_info['error'] might be set.

* Qual: Removed redundant tests

Removed some redundant tests (detected by phpstan)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:15:38 +01:00
kollibar
414c6927be NEW Add accounting export mode for ISTEA (#36006)
* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)

I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755

* Revert "Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :"

This reverts commit 80e67e665a.

* Correction for the generation of the bankjournal for a payment for different third parties party (in case of payment multi third partie is active, ie option "Allow payments on different third parties bills but same parent company" = true).

correction for the bug issue https://github.com/Dolibarr/dolibarr/issues/34755

* Revert "Correction for the generation of the bankjournal for a payment for different third parties party (in case of payment multi third partie is active, ie option "Allow payments on different third parties bills but same parent company" = true)."

This reverts commit 12ccfa60fa.

* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)

I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755

(Sorry for the 2 failed pull request: I'm begginer in use of git)

* Revert "Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :"

This reverts commit 6fb35a6d2e.

* Correction for the generation of the bankjournal for a paiement for different third parties party (in case of paiement multi third partie is active :
option "Allow payments on different third parties bills but same parent company" = true)

I've made a bug issu about it : https://github.com/Dolibarr/dolibarr/issues/34755

(Sorry for the 2 failed pull request: I'm begginer in use of git)

* correction commit for phan

* Correction for Travis CI

* I forgot to correct a line

* Correction for phpcs

* ajout d'un test si la requete sql de recherche d'un total pour la ligne échoue

* activation of this fix only if option FACTURE_PAYMENTS_ON_DIFFERENT_THIRDPARTIES_BILLS is on

* spelling correction in comment that don't pass pre-commit check

* trailing whitespace forget

* Add function to split a discount in 2 by API REST

* correction for phan & php-stan

* correction for phan & php-stan

* correction for phan & php-stan

* Update api_thirdparties.class.php

* Update api_thirdparties.class.php

* Update api_thirdparties.class.php

* Add accounting export mode for ISTEA

* Add accounting export mode for ISTEA

* add english translation

* Add accounting export mode for ISTEA

* Add accounting export mode for ISTEA

* Add accounting export mode for ISTEA

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-30 01:13:14 +01:00
Laurent Destailleur
0f56916173 Clean comment 2025-10-29 23:46:55 +01:00
Alexandre SPANGARO
e68cb0fc00 NEW Accountancy - Add accounting for discounts (#35977)
* NEW Accountancy - Add accounting for discounts - Update menu

* NEW Accountancy - Add accounting for discounts - Setup

* NEW Accountancy - Add accounting for discounts - Language

* NEW Accountancy - Add accounting for discounts - Setup

* NEW Accountancy - Add accounting for discounts - Language

* NEW Accountancy - Add accounting for discounts - Function

* FIX CI

* FIX CI

* Fix CI

* FIX CI
2025-10-29 10:54:14 +01:00
Alexandre SPANGARO
658770a449 FIX Accountancy - Not propose to write operation on draft asset (#35943) 2025-10-25 22:57:13 +02:00
Alexandre SPANGARO
c0cfd77cb9 FIX - Accountancy - Wrong length apply when various operation are proposed (#35944) 2025-10-25 22:54:46 +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
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
Alexandre SPANGARO
54f8ac4153 FIX Accountancy - Missing subledger information on mass cloning (#35777)
* FIX Accountancy - Missing subledger information on mass cloning

* Clarify - Add date_creation / Remove doc_type, fk_doc, fk_docdet

* Last fix

* Fix phan on user->Id

* Update bookkeeping.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:15:33 +02:00
Frédéric FRANCE
ca8a6c9c45 clean code (#35447)
* clean code

* clean code

* clean code
2025-09-23 21:42:20 +02:00
Frédéric FRANCE
e7ddb684e0 clean code (#35387)
* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-21 12:12:09 +02:00
Frédéric FRANCE
c8458c22e8 clean code (#35358)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-17 14:22:58 +02:00
Frédéric FRANCE
612248a9e9 clean code (#35365)
* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-17 14:10:48 +02:00
Frédéric FRANCE
f8d3713c1c clean code (#35343)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-15 16:16:32 +02:00
ldestailleur
702d91c65d Clean code 2025-09-11 12:25:22 +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
4e89f046d1 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-01 16:47:39 +02:00
ldestailleur
bb0974add9 FIX Security when using feature Advanced Target of emailing (hidden in
v21, default in v22+). Possible SQL injection by users with permissions
to make mass emailing. Reported by Simon Perdrisat.
2025-09-01 16:38:01 +02:00
ldestailleur
faebfdb464 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-27 13:54:02 +02:00
ldestailleur
a145b3b44d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-17 19:30:58 +02:00
ldestailleur
b410bf0731 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-17 19:30:58 +02:00
ldestailleur
bc82fba711 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-07-15 18:31:15 +02:00