Commit graph

151292 commits

Author SHA1 Message Date
ldestailleur
5f70ad29a2 FIX html title when using custom value 2025-07-19 15:43:40 +02:00
ldestailleur
60547fda94 Debug v22 2025-07-19 14:17:59 +02:00
ldestailleur
3770c82015 Debug look and feel v21 2025-07-19 02:35:33 +02:00
atm-adrien
6641e00cd6
FIX : Correct rank when adding line on order (#34764)
* FIX : Correct rank when adding line on order

* FIX : Delete TODO
2025-07-19 00:29:55 +02:00
github-actions[bot]
ee5e558812
PHPStan > Update baseline (#34763)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-07-19 00:16:52 +02:00
ldestailleur
e4ba59a509 Fix warning 2025-07-18 19:50:22 +02:00
ldestailleur
0928a3c6e1 Debug v22 2025-07-18 03:13:41 +02:00
Lenin Rivas
5aa5f88997
NEW Constant ORDER_MASS_ACTION_BILLED_LINK_EXPEDITIONS (#34617)
* NEW Constant ORDER_MASS_ACTION_BILLED_LINK_EXPEDITIONS

* NEW Constant ORDER_MASS_ACTION_BILLED_LINK_EXPEDITIONS

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 03:04:42 +02:00
Charlène Benke
54b359ab8a
NEW implement box on product and interventional index page (#34629)
* implement box on product and interventional index page

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 03:01:36 +02:00
Frédéric FRANCE
bb294eef95
NEW add hook getListOfModels (#34626)
* add hook getListOfModels

* Update functions2.lib.php

* Update functions2.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:59:19 +02:00
ldestailleur
6339eaf879 Fix date variables must be in UTC in memory. 2025-07-18 02:57:49 +02:00
VIAL-GOUTEYRON Quentin
7f9b477401
Fix(core): Ensure tms field is always updated in updateCommon (#34723)
* fix(commonobject): ensure `tms` field is updated with current timestamp

- Added logic to automatically update the `tms` field with the current timestamp when it exists in `$fieldvalues`.
- Aligns `tms` behavior with other timestamp fields like `date_modification`.

Improves consistency in timestamp handling across the codebase.

* fix(commonobject): set timezone for `dol_now()` call

- Updated `dol_now()` to use the user's timezone (`tz_user`).
- Ensures timestamps are consistent with user-specific settings.

* fix(commonobject): correct parameter for `dol_now()` function

- Updated `dol_now()` to use 'tzuser' instead of 'tz_user'.
- Fixes incorrect parameter causing potential timezone inconsistencies.

* fix(commonobject): respect `MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS` setting

- Added a check for `MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS` in the logic updating the `tms` field.
- Ensures the `tms` field is not auto-updated when this global setting is enabled.
- Retains the update behavior for `date_modification` and `fk_user_modif` fields.

Improves flexibility by honoring user-defined global settings for timestamp management.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:54:07 +02:00
Charlène Benke
4ef0c91006
NEW add upload api feature for shipment (#34639)
* add upload api feature for shipment

* Update phpstan-baseline.neon

* Update phpstan-baseline.neon

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:45:38 +02:00
ldestailleur
5b6eb72f4a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-18 02:44:03 +02:00
ldestailleur
30b1827317 Trans 2025-07-18 02:41:31 +02:00
Charlène Benke
1df5ea8456
NEW Add thirdparty search on api list (#34634)
* Add thirdparty search on api list

this change allow to seach element with filter on thirdparty (ex : list of bill of with name of thidparty)

* Update api_orders.class.php

* Update api_invoices.class.php

* Update api_contracts.class.php

* Update api_shipments.class.php

* Update api_interventions.class.php

* Update api_projects.class.php

* Update api_tickets.class.php

* Update api_tickets.class.php

* Update api_projects.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:35:50 +02:00
Charlène Benke
dbd5912658
NEW Add Sign feature on shipments (#34640)
* Add Sign feature on shipping

* Update card.php

* Update sendings.lang

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:29:54 +02:00
ldestailleur
5883d0b4da Link to barcode init 2025-07-18 02:27:00 +02:00
ldestailleur
b3eb894de1 Doc 2025-07-18 01:47:57 +02:00
ldestailleur
4802d0979c Doc 2025-07-18 01:45:30 +02:00
splohmer
f369730adc
Make mail id more unique (#34683)
The current solutions only uses time() which is a timestamp based on seconds. In some scenarios like automizing mails this is not enough. Even with the mt_rand there could be more likely collisions of the ids which is not allowed as it should be overall unique.
The newly used uniqid used a timestamp based on milliseconds and adds additionally a bit randomness which reduces the collision changes much more.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 01:33:24 +02:00
Alexandre SPANGARO
b4914420fa
NEW Accountancy - Accounting by payment type (#34729)
* NEW Accountancy - Accounting by payment type

* Better SQL request
2025-07-18 01:01:28 +02:00
Jyhere
91dd2e87ee
NEW: API GET endpoint for thirdparties types listing (c_typent) (#34751)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 00:56:10 +02:00
ldestailleur
3e5b23f0b1 Debug v22 2025-07-18 00:44:46 +02:00
ldestailleur
7b7d8e8fd4 Fix missing trans 2025-07-18 00:33:40 +02:00
ldestailleur
ee6adcf306 Trans 2025-07-17 23:44:22 +02:00
ldestailleur
1d6fa2d80f Trans 2025-07-17 23:38:36 +02:00
F-Node-Karlsruhe
34634cd814 fix purchase order refernece key in pdf generation (#34757)
* fix refernece key in pdf generation

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>

* Update pdf.lib.php

---------

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-17 23:19:55 +02:00
F-Node-Karlsruhe
e59f2447e7
fix purchase order refernece key in pdf generation (#34757)
* fix refernece key in pdf generation

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>

* Update pdf.lib.php

---------

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-17 22:20:45 +02:00
ldestailleur
de8c7f3c6e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 21:48:55 +02:00
ldestailleur
487633c117 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-17 21:48:46 +02:00
ldestailleur
49a834b08c Fix warning 2025-07-17 21:48:31 +02:00
Charlène Benke
2bd22cc7c6
NEW : add api_paiements.class.php (#34756)
* NEW : add api_paiements.class.php

* Update functions2.lib.php

add payement api folder

* Update api_paiements.class.php

* Update api_paiements.class.php
2025-07-17 21:34:26 +02:00
ldestailleur
a9c48a3e4d Debug v22 2025-07-17 21:04:59 +02:00
ldestailleur
2b0deccae5 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-17 19:31:16 +02:00
ldestailleur
1e5733d124 Update makepack 2025-07-17 19:30:58 +02:00
ldestailleur
7d26242fdd Fix link 2025-07-17 19:30:58 +02:00
ldestailleur
7c8598cc2d Sync transifex 2025-07-17 19:30:58 +02:00
ldestailleur
fd10fea1fa Debug v22 - Fix bad trans and setup for Cash acocunting. 2025-07-17 19:30:58 +02:00
ldestailleur
176c7d178d Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
f0f5006ce2 Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
270caf0dcb Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
423b302a2b Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
54ba7c2672 FIX mass action "Merge PDF" with high number of objects. 2025-07-17 19:30:58 +02:00
ldestailleur
ae18318072 Fix warning 2025-07-17 19:30:58 +02:00
ldestailleur
8738c4e6f7 Trans 2025-07-17 19:30:58 +02:00
ldestailleur
590f04ce04 Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
a533b23a1d Clean code 2025-07-17 19:30:58 +02:00
ldestailleur
95744663cb Trans 2025-07-17 19:30:58 +02:00
ldestailleur
c0a0acf129 FIX #34746 2025-07-17 19:30:58 +02:00