3264 Commits

Author SHA1 Message Date
Laurent Destailleur
43034bfc30 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-07 23:56:27 +01:00
Laurent Destailleur
6bc3bb0761 More debug info 2026-02-07 22:28:11 +01:00
Jarvis
954233c67d Fix extrafields visibility formulas using $objectoffield without computed fields (#37116)
Initialize $objectoffield before evaluating extrafield visibility/perms so formulas work even when no computed field exists.
Affects create/edit/view visibility logic for extrafields.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-06 12:57:19 +01:00
Laurent Destailleur
f8d8abd70b Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-02 15:59:37 +01:00
Laurent Destailleur
280fb84147 Clean comment 2026-02-01 01:52:58 +01:00
Laurent Destailleur
39ca59eb37 FIX Division by zero 2026-01-30 03:20:29 +01:00
Laurent Destailleur
dd7906a1d9 FIX Division by zero 2026-01-30 03:20:08 +01:00
Laurent Destailleur
bb5a37e0ef Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-29 23:46:17 +01:00
Laurent Destailleur
6b0a3e0f68 FIX Pb in total price of line when adding the discount of a down payment
when unit price was using a high accuracy.
2026-01-29 23:15:07 +01:00
atm-jonathan
65c38c92fb prevent ST_AsWKT() (#37013)
* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-28 18:21:50 +01:00
atm-jonathan
d9ee7a6b5e prevent ST_AsWKT() (#37013)
* prevent ST_AsWKT()

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-28 18:21:32 +01:00
Laurent Destailleur
5efcd7652f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-26 19:35:29 +01:00
Laurent Destailleur
4224c9fc05 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-26 19:34:10 +01:00
Laurent Destailleur
156828ac1f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-25 15:35:34 +01:00
Laurent Destailleur
1ddbaf1181 Debug v23 - navigation into fiscal years 2026-01-24 15:57:40 +01:00
Laurent Destailleur
455f91c215 Debug v23 2026-01-23 22:44:34 +01:00
NicolasL-SCOPEN
63fd9d326d Fix: subtotal lines from order to purchase order break lines on new document (#36973)
* Added a fix to prevent origin subtotal order lines from breaking purchase order lines

* Refactored code and fixed formating
2026-01-23 19:53:30 +01:00
Laurent Destailleur
4c07ef386e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-23 18:44:37 +01:00
Laurent Destailleur
39d39f475d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-23 17:46:38 +01:00
Laurent Destailleur
f2455704d2 NEW Button to close/reopen bank account status 2026-01-19 01:07:33 +01:00
Charlène Benke
417bdc88ce Fix warning : add test on $key_fields['default'] is set (#36870)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-15 01:57:41 +01:00
atm-vincent-p
de96c57acf FIX contact type translation (#36863) 2026-01-13 11:35:32 +01:00
Laurent Destailleur
15054810ba Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
Debug v23
2026-01-12 13:42:02 +01:00
Laurent Destailleur
8149b907a3 Debug v23 2026-01-10 14:06:10 +01:00
spsolauv
d6abd9305f Make CommonObject::cloneCategories() generic (#36758)
It was working only for products

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 23:45:26 +01:00
Frédéric FRANCE
9cce445ece Merge branch 'develop' into set_share_key_generic_case 2025-12-22 18:23:59 +01:00
Laurent Destailleur
3a4cf15857 Debug v23 no propagation of warnings 2025-12-21 13:32:32 +01:00
Laurent Destailleur
c2930e768e Debug v23 2025-12-21 12:54:03 +01:00
Frédéric FRANCE
fa86ca7c88 add more case to set share key 2025-12-19 10:39:29 +01:00
Frédéric FRANCE
36d982682d add more case to set share key 2025-12-19 10:37:52 +01:00
Frédéric FRANCE
e24e7c4713 add more case to set share key 2025-12-19 10:35:04 +01:00
Frédéric FRANCE
bb5931c592 add more case to set share key 2025-12-19 10:10:42 +01:00
Frédéric FRANCE
289e696a38 add more case to set share key 2025-12-19 10:10:31 +01:00
Frédéric FRANCE
028a5ca076 add more case to set share key 2025-12-19 10:04:09 +01:00
Frédéric FRANCE
cd3fd5f9c7 fix bad trigger name 2025-12-11 18:17:00 +01:00
Laurent Destailleur
fe123327bc Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-11 01:58:16 +01:00
Frédéric FRANCE
70f7a21ad1 Update commonobject.class.php with same phpdoc than in develop 2025-12-09 21:04:23 +01:00
Laurent Destailleur
b530ab7e5d Debug v23 - Navigation in timespent and style 2025-12-04 12:22:44 +01:00
Laurent Destailleur
955bf9db10 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-25 21:00:16 +01:00
Jakub Stříbrný
244b6f0473 FIX do not force rowid to int (#36412)
* do not force rowid to int

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-25 14:16:13 +01:00
Jakub Stříbrný
d24b8b6221 FIX do not force rowid to int (#36412)
* do not force rowid to int

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-25 14:15:36 +01:00
Jon Bendtsen
a40c97ec9c NEW: API set contact for any type in proposal, order or invoice dictionary (breaks API proposal) (#36269)
* NEW: Setting proposal contact to any in proposal contact dicitonary

* hurl tests and a little general cleanup of proposals api

* testing if the supplied type is in the dictionary

* Unique error codes

* Giving better error messages

* Making hurl tests reasonably identical for: proposals, orders and invoices

* BREAKING proposals, to make it identical with order and invoice + support for non default contacts for orders and invoices just like proposals

* adding the missing global  to order and invoice

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-24 20:12:35 +01:00
Laurent Destailleur
6a23983969 Fix warning 2025-11-23 01:06:58 +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
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
fc8cc70d7e Clean code 2025-11-19 12:50:32 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
Laurent Destailleur
f8e9d223f9 Clean code 2025-11-09 18:37:29 +01:00
Frédéric FRANCE
b8c8bc4b01 fix fields doc (#36175)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-09 01:20:11 +01:00
Frédéric FRANCE
9491d880cf clean code (#36170)
* clean code

* Update bom.class.php

* Update commondocgenerator.class.php

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-09 01:19:31 +01:00