Commit graph

151292 commits

Author SHA1 Message Date
Laurent Destailleur
a8ed7e50f4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-20 11:20:10 +01:00
Laurent Destailleur
cef8905f02 Clean code 2025-11-20 11:19:49 +01:00
Alain Cis
01dcb2c4aa
[NEW] Add regions for CONGO, THE DEMOCRATIC REPUBLIC OF THE;CD (#36340) 2025-11-20 11:14:35 +01:00
Jakub Stříbrný
6c842a1219
NEW Allow creating contact via api with ISO code (#36322)
* Allow creating contact via api with ISO code

Add handling for country code to country ID mapping for api.

* use dol_getIdFromCode

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 11:03:08 +01:00
MDW
2d7d492bea
New: Add quiet mode to hurl test runner (#36339)
- Added `--quiet` or `-q` option to disable informational output
- Updated help message to include the new option
- Modified print functions to respect quiet mode
2025-11-20 11:01:14 +01:00
tcesar
b485556c3a FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 11:00:04 +01:00
tcesar
7b08aab461
FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 10:56:08 +01:00
Eric Seigne
f9d285c416 Merge branch '18.0' of https://github.com/Dolibarr/dolibarr into 18.0 2025-11-20 10:09:57 +01:00
Eric Seigne
f1f7ea93b0 fix assign-and-label-v18 2025-11-20 10:09:29 +01:00
lvessiller-opendsi
1f6cec841f
Merge pull request #35795 from hregis/fix_18_multicompany_compatibility
FIX Multicompany compatibility with "project_task"
2025-11-20 10:03:38 +01:00
lvessiller-opendsi
4dcbd826e6
Merge pull request #35812 from Easya-Solutions/18__fix_situation_remove_from_cycle
FIX remove situation invoice from cycle
2025-11-20 10:03:02 +01:00
Eric Seigne
fd5c9b0562 update github actions for race conditions of author/reviewer 2025-11-20 09:46:59 +01:00
iLLixM
8d038f32bc
FIX #33148 - partial payments are taken into account in EPC QR codes (#36338)
When generating EPC QR codes on an invoice, any partial payments already made are taken into account. The remaining balance (the value of "Remaining unpaid") is then entered as the amount in the EPC QR code.
2025-11-20 01:49:24 +01:00
Frédéric FRANCE
46d6714fe0
clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Jon Bendtsen
111dce3854
Qual: fix 2 hurl tests: Contract and Emailtemplates (#36332)
* remove hurl test that requires a contract to exist

* change emailtemplates hurl tests to work when there is debug information in the API response

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-20 01:46:55 +01:00
iLLixM
346828071f
FIX #36334 - reload invoice data before pdf-creation in process of generating a new member contribution (#36335) 2025-11-20 01:46:11 +01:00
Jon Bendtsen
ff2d9e987a
Qual/Fix: remove entity=2 hurl test which doesn't work (#36336)
JonSweet16:hurl jonbendtsen$ ./run.sh module

----- Run hurl test on APIs ---
::notice::1. Running tests (API,GUI,public) that do not require authentication
::notice::Using existing DOLAPIKEY.
::notice::2.a. Running API tests that do require authentication
Success api/setup/10_setup_modules.hurl (13 request(s) in 2547 ms)
--------------------------------------------------------------------------------
Executed files:    1
Executed requests: 13 (5.1/s)
Succeeded files:   1 (100.0%)
Failed files:      0 (0.0%)
Duration:          2548 ms

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-20 01:45:09 +01:00
Jon Bendtsen
d9814738e1
Qual: Fix broken hurl test for project GUI (#36333)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-20 01:44:27 +01:00
Laurent Destailleur
c3f4f02f63 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-19 21:46:00 +01:00
Laurent Destailleur
88f184bcb0 Trans 2025-11-19 21:44:34 +01:00
Laurent Destailleur
71fd5f2f62
Merge branch 'develop' into new-api-rest-tokens 2025-11-19 21:26:41 +01:00
Jon Bendtsen
50c7ccd053
Fix: test for existing DOLAPIKEY before trying to get it using username and password (#36331)
* Fix: test for existing DOLAPIKEY before trying to get it using username and password

* remove the print statement that made the API key be wrong

* writing print_info to stderr

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-19 21:03:12 +01:00
John BOTELLA
ec6219c183
UIUX : Experiment Dolibarr JS context and tools (#36327)
* UX experiment Dolibarr JS tools

* collapse help

* improuve logs
2025-11-19 19:42:00 +01:00
Regis Houssin
bd51548638
FIX avoid php warning error (#36330) 2025-11-19 19:35:02 +01:00
Jon Bendtsen
12c0f73682
Fix hurl assert for API warehouses to new reply from Dolibarr (#36274)
* Fix hurl assert for API warehouses to new reply from Dolibarr

* Asserting with jsonpath can handle if there are extra keys in the json like debug which mdeweerd experienced

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 19:34:11 +01:00
Jon Bendtsen
dfb19ddc6b
New thorough Hurl tests for pages under /projet/ in Dolibarr's GUI (#36275)
* New throrough Hurl tests for pages under /projet/ in Dolibarr's GUI

* fix spelling typo

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-19 19:33:29 +01:00
Jon Bendtsen
c0bf718df3
using different hurl test to verify we are in the homescreen and that it works (#36294)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-19 19:32:37 +01:00
Frédéric FRANCE
d5e641e248
fix doc subtotal tpl (#36326)
* fix subtotal create tpl

* fix subtotal create tpl

* property errors is always set

* clean baseline
2025-11-19 19:21:19 +01:00
Florian Mortgat
c0850d9a3f
FIX DA027383: permissions not checked on HRM evaluation card (#36328)
Permissions involved:
- hrm->evaluation->readall: the user can view anyone's evaluations
- hrm->evaluation->read: the user can only view their or their subordinates' evaluations
2025-11-19 19:19:55 +01:00
Laurent Destailleur
918443562e Fix warning 2025-11-19 16:25:16 +01:00
Laurent Destailleur
c1699eed56 Debug v23 2025-11-19 16:18:09 +01:00
Laurent Destailleur
7645a6dc87 Debug v23 2025-11-19 16:16:53 +01:00
Laurent Destailleur
34dc9a9cfd Debug 2025-11-19 16:07:03 +01:00
Laurent Destailleur
6c9a70ebdf CI 2025-11-19 15:52:47 +01:00
Laurent Destailleur
46fb9826d2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-19 15:40:10 +01:00
Laurent Destailleur
3b74f64d00 Add checkmajorversion.yml 2025-11-19 15:39:59 +01:00
Charlène Benke
b45ee47907
NEW : add product_type field on fichinter (preparing subtotal) (#36196)
* NEW : add product_type field on fichinter (preparing subtotal)

Added product_type to SQL queries for fetch, insert, and update methods.
field already present on table, so let start add subtotal on interventionals

* Update fichinterligne.class.php

* Update copyright information in card-rec.php

Updated copyright year and name for Charlie Benke.

* Update fichinterligne.class.php

* Update fichinterligne.class.php

* Update fichinterligne.class.php

* Update fichinterligne.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 15:27:26 +01:00
ThomasNgr-OpenDSI
eaa05a482f
Allow to view ticket linked files from public interface (#32410) 2025-11-19 15:26:59 +01:00
Laurent Destailleur
a605244dea css 2025-11-19 15:23:07 +01:00
kkhelifa-opendsi
548bb94e4f
NEW: Rework of the management of the card and fields on the web portal (#36076)
* NEW: Rework of the management of the card and fields on the web portal

* Correction pre-commit check

* Correction affichage logo login

* Ajout hook

* Ajout params fonction FormWebPortal::convertAllLink()

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction phpstan

* Correction travis

* Correction travis

* Correction travis

* Correction travis

* Correction

* Fix get options of sellist by AJAX in webportal scope

* Correction pre-commit

* Correction pre-commit

* Add hook and change hook name for viewImage controller

* Correction phan

* Corrections

* Corrections
2025-11-19 15:14:53 +01:00
Charlène Benke
da77a93205
extrafields type link fail if object not internal (#36315)
without send the classpath we have an error on selectforforms function

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:55:37 +01:00
Günter Lukas
eb2d345330
Fix #36282: Update shipment reference handling in commondocgenerator (#36283)
* Update shipment reference handling in commondocgenerator

* Refactor order reference assignment for clarity

* Refactor origin object handling in shipment array

* Refactor origin object handling in shipment array

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:49:16 +01:00
Frédéric FRANCE
b449edad3a
enhance reminders create (#36321)
* enhance reminders create

* enhance reminders create

* enhance reminders create

* enhance reminders create

* enhance reminders create

* clean js

* clean js

* clean js

* clean js

* clean js

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:47:41 +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
github-actions[bot]
3cd79f4497
PHPStan > Update baseline (#36305)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-19 14:16:21 +01:00
MDW
96e35c7a33
Fix: PhanTypeMismatchProperty error in invoice creation (#36323)
* 🐛 Fix PhanTypeMismatchProperty error in invoice creation

The error occurred due to incorrect type handling in the invoice creation process. The changes fix this by properly handling the subtype field as an integer. This ensures type consistency and prevents potential runtime errors.

* FIX: Correct assignment to linkedObjectsIds  in card.php

# FIX: Correct assignment to linkedObjectsIds  in card.php

Modified the structure of linkedObjectsIds to include the rowid as a key to match the property type.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:16:00 +01:00
Laurent Destailleur
4989c9c3b1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-19 14:09:14 +01:00
Yamil Esteban Garcia
6d5835e90f
FIX Move 'holiday' from old path array to new one (#36308)
* Remove 'supplier_invoice' from old path array

* Update module path in arrayforoldpath

Sorry Eldy, I was confused. You are absolutely right, it is already corrected.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:09:05 +01:00
Laurent Destailleur
56f2cdab10 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-19 14:07:56 +01:00
Laurent Destailleur
f7f0b408e2 Migrate holiday files 2025-11-19 14:06:07 +01:00