Commit Graph

148784 Commits

Author SHA1 Message Date
Laurent Destailleur
a4fe30aded Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-01 22:26:54 +01:00
Laurent Destailleur
d93ccee00e Introduce global option MAIN_AUTHENTICATION_OIDC_ON to disable globaly
OIDC
2025-11-01 22:26:38 +01:00
MDW
808eaa8cfc Fix: Correct fields (takepos/receipt) (#36056)
# Fix: Correct fields (takepos/receipt)

- Use invoice date (not unavailable date_c);
- Correct ifprod1 to idprof1.
2025-11-01 21:57:34 +01:00
Laurent Destailleur
31b4e093cb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-01 19:37:25 +01:00
Laurent Destailleur
b1c7b1154f Debug v23 - Translation not loaded when it should 2025-11-01 19:36:35 +01:00
Mathieu Pellegrin
963deab290 Fix #35970 (#35971)
* Fix #35970

* Add test for invoice status
2025-11-01 18:57:54 +01:00
Frédéric FRANCE
91af13069a fix strict check (#36055) 2025-11-01 18:55:28 +01:00
Laurent Destailleur
b39902a4b4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-01 18:33:15 +01:00
Laurent Destailleur
2c16fffa38 WIP LNE 2025-11-01 18:33:05 +01:00
Frédéric FRANCE
ff7a684a0a clean code (#36054)
* clean code

* clean code

* avoid obj to be false

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-01 17:48:18 +01:00
MDW
073426d97e Qual: Fix multiple phan notices, update baseline (#36022)
* Qual: Fix phan notice with copy of attribute

* Qual: Fix phan notices with cast and updated param definition

* Qual: Fix phan notice with cast

* Qual: Update parameter type hint in utf8_check function

The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).

* Qual: Update User parameter type to nullable in call_trigger methods

The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.

* Qual: Update phan baseline

* Qual: phpstan compatible type

* Qual: Add missing type hints for phan

- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure

* Qual: Update field configuration for backward compatibility

Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 17:47:28 +01:00
Frédéric FRANCE
0a3d2c7ddc clean code (#36053)
* clean code

* clean code
2025-11-01 17:47:13 +01:00
Frédéric FRANCE
f4b91c40a1 fix dol_print_date (#36050)
* fix dol_print_date

* Update box_members_last_subscriptions.php
2025-11-01 17:46:30 +01:00
Frédéric FRANCE
60e2fec850 better debug (#36052) 2025-11-01 17:45:18 +01:00
Laurent Destailleur
79c672fda8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-01 13:32:56 +01:00
Laurent Destailleur
c599c114fe WIP LNE 2025-11-01 13:32:45 +01:00
Pierre Ardoin
9c66964104 NEW Add user permission for create/edit/delete supplier prices (#35940)
* Add copyright notice for Pierre Ardoin

* Update permissions for supplier prices management

* Add permissions for supplier purchase prices

* Enhance supplier price permissions

Added advanced permission checks for supplier price management.

* fix tabs&spaces

* fix tab@spaces

* Remove unnecessary blank lines in price_suppliers.php

* Remove unauthorized access checks for supplier prices

Removed access control checks for unauthorized supplier price creation and editing.

* Remove unnecessary blank line in price_suppliers.php

* Refactor user permission checks for supplier prices

replace $usercanwritesupplierprice with $usercancreate

* Refactor edit and remove links for supplier prices

* Update price_suppliers.php
2025-11-01 03:27:25 +01:00
Charlène Benke
e86aa52d83 Modify supplier reputation options in API products (#36029)
Updated supplier reputation parameter options.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:24:59 +01:00
Alexandre SPANGARO
2883a7d47a NEW Accountancy - Add reconcile on general accounting account - SQL part (#35994)
* NEW Accountancy - Add reconcile on general accounting account - SQL part

* Copyright

* Change term lettering for matching

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:17:27 +01:00
Lucas Marcouiller
d4cb81508d NEW Can update value of timespent with last task hourly rate (#36018)
* NEw update task hourly rate

* fix Ci

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:16:17 +01:00
Frédéric FRANCE
e00559b242 fix CI after file rename (#36021)
* fix CI after file rename

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:12:58 +01:00
Charlène Benke
211514c85e Fix assignment of public property in task class (#36011)
* Fix assignment of public property in task class

* Rename 'public' to 'project_public' in task class

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 02:58:27 +01:00
Bahfir Abbes
f2b0873e26 New module part webportallogin to allow login method definition by external modules in Dolibarr webportal (#36037)
* New module part webportallogin to allow login method definition by external modules in Dolibarr webportal

* Update webportal.main.inc.php

add WEBPORTAL_LOGIN_BY_MODULE to enable disable login by modules

* Fix condition check for web portal login module

---------

Co-authored-by: abb <contact@ab1consult.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 02:46:52 +01:00
Frédéric FRANCE
a2c1bc77c2 clean code (#36010) 2025-11-01 02:38:43 +01:00
Frédéric FRANCE
df5588b3e1 clean code (#36009) 2025-11-01 02:38:29 +01:00
MDW
2030b6a338 NEW: Update Incoterms to 2025 standards and add new terms (#36041)
- Updated existing Incoterms descriptions to reflect 2025 standards
- Added new Incoterms (DTP, DPP, DTP(DHL))
- Added migration script to handle existing installations

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 02:37:58 +01:00
Frédéric FRANCE
38a62ca163 clean code (#36012) 2025-11-01 02:37:42 +01:00
Maxime Kohlhaas
fe9a55259a NEW : add global search for resource object (#36043)
* NEW : add global search for resource object

* Update comment for quick search resource field

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 01:38:44 +01:00
Maxime Kohlhaas
24952c3916 Fix : CI feedbacks (#36045)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 01:01:10 +01:00
Laurent Destailleur
05b14fb762 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-01 00:53:45 +01:00
Frédéric FRANCE
ef0f2ee4ee clean code (#36014) 2025-11-01 00:32:45 +01:00
Frédéric FRANCE
f1a418f042 clean code (#36016)
* clean code

* clean code

* clean code
2025-11-01 00:31:43 +01:00
Charlène Benke
0707b849fd Add French holiday translations to hrm.lang (#36035) 2025-11-01 00:30:43 +01:00
Laurent Destailleur
9562b68f7f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-31 18:32:34 +01:00
Laurent Destailleur
64854482d8 Doc 2025-10-31 18:25:49 +01:00
ThomasNgr-OpenDSI
1cd82c88cb Develop fix STOCK_MUST_BE_ENOUGH_FOR_(PROPAL|ORDER|INVOICE) (#33517)
* Manage STOCK_MUST_BE_ENOUGH_FOR_(PROPAL|ORDER|INVOICE) with new attribute stockable_product

* Use static properties for product types. Controle product type service.

* simpler condition for STOCK_MUST_BE_ENOUGH_FOR_PROPOSAL
2025-10-31 17:15:18 +01:00
Laurent Destailleur
63ec276f5c Add DOLAPIENTITY into allowed http headers 2025-10-31 17:01:07 +01:00
Laurent Destailleur
5a61116497 Debug v23 2025-10-31 16:55:48 +01:00
Laurent Destailleur
6e14377ba4 FIX avoid error 500 on api when cache dir does not exists 2025-10-31 16:44:29 +01:00
Laurent Destailleur
cb7d856aa1 Doc 2025-10-31 16:28:21 +01:00
Laurent Destailleur
88aeae24da Add more logs 2025-10-31 16:22:53 +01:00
Laurent Destailleur
e660f0f35a Enhance log 2025-10-31 16:10:06 +01:00
Laurent Destailleur
8cd3abb78d Can add a category without removing the others 2025-10-31 04:05:45 +01:00
Laurent Destailleur
bbd01729b6 Fix css 2025-10-31 03:29:24 +01:00
Laurent Destailleur
ee84fadd1c Comment 2025-10-31 02:22:14 +01:00
Laurent Destailleur
beb33d2f62 Fix trans 2025-10-30 23:06:34 +01:00
Laurent Destailleur
96ab49b80d Doc 2025-10-30 23:02:53 +01:00
Laurent Destailleur
e21139558a Debug v23 2025-10-30 22:34:34 +01:00
Laurent Destailleur
9152e86c5a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-30 22:30:47 +01:00
Laurent Destailleur
2e838f7f1b Fix bad link not yet available 2025-10-30 22:28:21 +01:00