41970 Commits

Author SHA1 Message Date
Laurent Destailleur
5d83e6feb3 Automated merge from 23.0 to develop 2026-03-12 23:40:28 +01:00
Laurent Destailleur
b9f5895c68 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-12 23:40:02 +01:00
Laurent Destailleur
c76d781e30 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-12 23:36:15 +01:00
Laurent Destailleur
488366cf06 Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-12 23:36:12 +01:00
Laurent Destailleur
584e103ebf Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-12 23:35:37 +01:00
Laurent Destailleur
058c8ee9b0 Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-03-12 23:26:55 +01:00
Laurent Destailleur
cbf2adc238 CI 2026-03-12 21:58:42 +01:00
Laurent Destailleur
0e62a44ea1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-12 21:49:14 +01:00
Laurent Destailleur
a12da79340 CI 2026-03-12 21:49:05 +01:00
Zakaria Boushaba
c057d46a4c NEW|New Add hook selectForFormsListUrl in Form::selectForForms (#37447)
* Feat: add hook selectForFormsListUrl to allow modules to modify AJAX URL params

* Add

---------

Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-12 21:41:08 +01:00
Laurent Destailleur
f188ad64eb Picto for shared doc 2026-03-12 17:11:05 +01:00
Laurent Destailleur
ffcbe0263d Look and feel v24 2026-03-12 16:11:26 +01:00
Laurent Destailleur
94d7642b2f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-12 14:47:43 +01:00
Laurent Destailleur
69f75928e7 CI 2026-03-12 14:47:18 +01:00
boudet jean pascal
a4b8cb7008 NEW : adds visual indicators on the Sales Order card (commande/card.php) (#37460)
* This PR adds visual indicators on the Sales Order card (commande/card.php) to quickly identify if an order or its lines are shippable based on current stock levels. This feature mirrors the existing functionality found in the Orders List, bringing valuable logistics information directly into the Order Card context.

Key Features:
Global Shippable Status: Adds a "shippable" icon (Truck) next to the "Planned delivery date" field.

Logic: Checks if all products in the order are in stock.

Condition: Visible only if Stock and Shipment modules are enabled, a delivery date is set, and the order is validated.

Visual: Green icon if fully shippable, Red/Warning if stock is insufficient. Includes a detailed tooltip.

Per-Line Shippable Status: Adds a new "Shippable" column in the product lines table.

Logic: Compares real stock vs. remaining quantity to ship for each line.

Visual: Displays a green/red status bullet (standard Dolibarr status icons) directly in the line.

Implementation: Done by updating objectline_title.tpl.php and objectline_view.tpl.php with specific checks for the commande element.

New Configuration Option: Added a hidden option ORDER_DISABLE_SHIPPABLE_ICON_ON_CARD to disable this feature if needed (configurable in Home > Setup > Other Setup or via module settings).

Backend Optimization: Added a new method getShippableInfos() in commande.class.php to centralize the stock check logic (optimized with stock caching to avoid N+1 query issues).

Technical Details:
Modified Files:

commande/card.php: Integration of the global icon next to the date.

commande/class/commande.class.php: Added getShippableInfos() method.

core/tpl/objectline_title.tpl.php: Added "Shippable" column header (conditional for Orders).

core/tpl/objectline_view.tpl.php: Added "Shippable" column cell content (conditional for Orders).

Performance: Logic uses static caching for product stock to minimize database impact when rendering large orders.

* missed element

* img_picto

* phan add

* load_stock and global $i

* phan

* ci retour

* change icon
change phan directive

* phan

* Fight against optionflation

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Change condition for displaying shippable icon

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Change condition for displaying shippable status icon

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Update card.php

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Update shippable status condition in template

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Update shippable status condition logic

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-12 14:42:31 +01:00
Maxime Kohlhaas
e29b741958 Fix : disabled extrafield should not appear on PDF (#37442) 2026-03-12 14:40:36 +01:00
Laurent Destailleur
70346cb3bb Move permission ticket->manage as an advanced permission 2026-03-12 14:35:26 +01:00
Zakaria Boushaba
fd71eba41e FIX: Fix mandatory custom fields JS validation in printCommonFooter (#37469)
* Fix mandatory fields JS: use name selector instead of id, fix undefined buttonName on create, fix HTML entities in alert message

* Update alert message for empty field validation

---------

Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-12 13:47:12 +01:00
Laurent Destailleur
b73d055cbb Look and feel v24 2026-03-12 13:12:29 +01:00
Laurent Destailleur
d8bce4e1e4 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-12 11:16:17 +01:00
Laurent Destailleur
cd0a4016ff Fix regressions 2026-03-12 11:12:35 +01:00
Laurent Destailleur
2176229ffb Look and feel v24 2026-03-12 01:18:10 +01:00
Laurent Destailleur
170a782a87 Menu open/close 2026-03-12 00:27:51 +01:00
Laurent Destailleur
1f952b6969 Fix leftmenu 2026-03-12 00:22:32 +01:00
ATM-NicolasV
ca957917e5 Fix mainmenu redirection in (#37471)
accounting configuration
2026-03-12 00:06:43 +01:00
Laurent Destailleur
d61ffe5872 CI 2026-03-12 00:00:34 +01:00
Laurent Destailleur
432361304a FIX Better compatibility for module using condition object-> in tabs 2026-03-11 23:09:50 +01:00
Laurent Destailleur
156fedd87a Restore old code until we found pb of js regression 2026-03-11 13:09:33 +01:00
Laurent Destailleur
a8b4e5d141 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-10 19:56:16 +01:00
Laurent Destailleur
e4d8d3047e FIX translation on multiselect with rich label - Fix CSS public ticket 2026-03-10 19:55:15 +01:00
Laurent Destailleur
d2e1cb18cb Look and feel v24 2026-03-10 19:27:59 +01:00
Laurent Destailleur
ddfb7c1274 Clean code 2026-03-10 18:32:41 +01:00
Laurent Destailleur
acb525524e NEW Better look and feel v24 in import/export tool 2026-03-10 11:33:18 +01:00
Laurent Destailleur
70db1d57b9 Look and feel v24 2026-03-09 19:57:55 +01:00
Laurent Destailleur
4ad6d1b5b3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-03-09 09:55:09 +01:00
Laurent Destailleur
aa10d6062b CI 2026-03-09 01:03:50 +01:00
Laurent Destailleur
1969fcf195 FIX customreport menu must be greyed for external users. 2026-03-07 20:56:33 +01:00
Laurent Destailleur
a1aa7f8eb6 Fix debug v23 2026-03-07 20:07:52 +01:00
Laurent Destailleur
208d960dab NEW add rule MAIN_BUILD_LOGIN_RULE = 'flastname' to build login 2026-03-07 19:48:08 +01:00
Laurent Destailleur
baa1359021 FIX Bad value when entering price with multicurrency included tax.
Debug option PRODUCT_USE_CUSTOMER_PACKAGING not completely implemented
2026-03-06 01:21:04 +01:00
Laurent Destailleur
ddf784c0a7 Automated merge from 23.0 to develop 2026-03-06 00:18:43 +01:00
Laurent Destailleur
f4278b2c6f Add missing user modif in import 2026-03-06 00:04:06 +01:00
Laurent Destailleur
bc44247cd1 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-05 23:59:06 +01:00
Charlène Benke
be2957816a Add alternative element type for facturerec (#37418)
fail on extrafields showinputfield link
2026-03-05 22:25:48 +01:00
Charlène Benke
3ab609726e Add alternative element type for facturerec (#37418)
fail on extrafields showinputfield link
2026-03-05 22:11:25 +01:00
Laurent Destailleur
35eb6853fd FIX Fetch of lead status 2026-03-05 12:45:25 +01:00
Laurent Destailleur
a3530f0329 CI 2026-03-05 11:40:00 +01:00
Laurent Destailleur
d3252f0846 CSS 2026-03-05 01:34:36 +01:00
John BOTELLA
2a6d7739ba UIUX : initNewContent event system (Dolibarr JS context) (#37394)
* Fix doc page

* wip doc

* Add doc

* Factoring
2026-03-05 01:13:38 +01:00
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00