Commit Graph

2696 Commits

Author SHA1 Message Date
Laurent Destailleur
27026eced9 Fix ci 2026-01-24 18:00:45 +01:00
splohmer
508cf6fba9 FIX missmatch of permission check of button and action of cancel delivery note (expedition) (#36943)
In expedition/card.php there is the action "confirm_cancel" which checks for the right supprimer of expedition. The corresponding UI Button checks for creer of expedition. This means some people can see the button, but nothing happens when clicking on it (also no error message).
2026-01-21 14:25:24 +01:00
Maxime Kohlhaas
5179e05cbd Fix : wrong html end of fiche section (#36793)
* Fix : wrong html end of fiche section

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-05 14:43:52 +01:00
Francis
377a567e4b Add hidden input for socid in card.php
In creation mode from an origin order, the socid is not input
2025-12-18 17:09:30 +01:00
nateogroup-antoine
205251d4b9 If an item in the order is not managed in stock, the default quantity offered during shipping is 0 rather than the quantity ordered.
If an item in the order is not managed in stock, the default quantity offered during shipping is 0 rather than the quantity ordered.
2025-12-16 15:48:35 +01:00
Frédéric FRANCE
a560d4f886 clean code 2025-12-02 09:11:56 +01:00
Mélina JOUM
206e636756 FIX: reinstate shipment with origin 2025-11-28 14:41:53 +01:00
Frédéric FRANCE
bca2fbdf3b Merge branch 'develop' into patch-8 2025-11-26 17:00:53 +01:00
Laurent Destailleur
f0f2afd7a3 Fix action type for button action Email 2025-11-26 13:41:16 +01:00
Frédéric FRANCE
a342bd7672 fix 2025-11-26 11:22:03 +01:00
Frédéric FRANCE
9dee0f2fd6 fix 2025-11-26 11:13:32 +01:00
Frédéric FRANCE
5f8729b553 weight and size are float 2025-11-26 10:56:37 +01:00
Laurent Destailleur
9abb1b7211 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-25 21:03:02 +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
Laurent Destailleur
8354d0a361 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-25 20:57:53 +01:00
Laurent Destailleur
e920456149 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-25 20:57:22 +01:00
Florian Mortgat
7f27552a95 FIX: empty origin type passed to addline when creating invoices from expeditions using massaction (confirm_createbills) (#36413) 2025-11-25 14:18:12 +01:00
Laurent Destailleur
89d8b553c1 Debug v23 2025-11-22 16:23:07 +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
Laurent Destailleur
8a8ed7fa67 Fix CI 2025-11-19 11:28:58 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
MDW
c39e87d703 Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
HENRY Florian
7855469d5f FIX: in shippement creation with SHIPMENT_SUPPORTS_SERVICES and/or STOCK_DISALLOW_NEGATIVE_TRANSFER and/or stockable_product there are inconsistancies (#36140)
* FIX: in shippement creation with SHIPMENT_SUPPORTS_SERVICES and/or STOCK_DISALLOW_NEGATIVE_TRANSFER and/or stockable_product there was inconsistancies

* FIX: in shippement creation with SHIPMENT_SUPPORTS_SERVICES and/or STOCK_DISALLOW_NEGATIVE_TRANSFER and/or stockable_product there was inconsistancies
2025-11-06 17:01:25 +01:00
HENRY Florian
93a0b1f0e2 FIX: In shipment creation process, if product is not manage in stock, Dolibarr should not display a "low stock warning" (#36139)
* fix: In shipment, if product is not stockable, Dolibarr should not display a warning

* fix: In shipment, if product is not stockable, Dolibarr should not display a warning

* fix: In shipment, if product is not stockable, Dolibarr should not display a warning
2025-11-06 16:59:19 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
sonikf
88241b30de NEW Add option to create simple standalone shipment of non origin (#35651)
* NEW Add option to create simple shipment of non origin

* Enable create menu for shipment

* Enable create menu for shipment

* Update sendings.lang

* fix phpstan

* fix syntax

* fix missing line

* Add validation for socid and update note display

* fix project

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-06 13:13:36 +01:00
Frédéric FRANCE
59789a8f02 add class_element_line (#36115) 2025-11-05 22:18:02 +01:00
MDW
b925dd6c37 Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
HENRY Florian
e7b390bceb fix: php8 warning (#36088)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:15:18 +01:00
Laurent Destailleur
e21139558a Debug v23 2025-10-30 22:34:34 +01:00
VIAL-GOUTEYRON Quentin
c616e27274 New Hooks propals/orders (#35989)
* Add hook manager support for appending custom filter clauses across various SQL queries.

* Add hook manager support for custom SQL filters across multiple modules.

* Remove obsolete test code from api_proposals.class.php

* Remove unnecessary blank lines in card.php

* Remove unnecessary blank lines in card.php

* Remove unused object initialization and 'boxcode' parameter in product class

* Update api_proposals.class.php

* Initialize hooks for order API access

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-30 01:51:29 +01:00
Laurent Destailleur
4c84650e39 NEW Add API for Holidays/Leaves 2025-10-29 18:58:06 +01:00
Regis Houssin
210328dd33 FIX avoid php warnings (#35967) 2025-10-28 01:07:22 +01:00
Frédéric FRANCE
9b512f565f try to make new checks (#35976)
* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks

* try to make new checks
2025-10-28 00:57:01 +01:00
Laurent Destailleur
0346d901be Clean code 2025-10-23 14:31:45 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
Frédéric FRANCE
1ad2d24a4b fix img_pictos (#35722)
* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos
2025-10-14 19:31:06 +02:00
sonikf
bc9199e58f NEW Add tpl files for standalone shipment (#35624)
* NEW Add option to create simple shipment of non origin

* try to fix phan

* try to fix phan

* fix phan
2025-10-04 01:14:14 +02:00
sonikf
86578bd625 NEW Create simple shipment of non origin (#35604)
* NEW Add option to create simple shipment of non origin

* NEW Add option to create simple shipment of non origin

* avoid 2nd update and revert origin change

* remove 2nd update
2025-10-03 19:06:01 +02:00
ldestailleur
8b82ff4fd1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-03 13:01:15 +02:00
ldestailleur
a9c0a59d59 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-03 13:00:22 +02:00
ldestailleur
1eeee0ab80 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-03 12:58:31 +02:00
John BOTELLA
5031572102 Fix trigger (#35610) 2025-10-03 11:44:53 +02:00
ldestailleur
658741c072 Fix avoid rolback when no transaction open 2025-10-03 09:41:49 +02:00
ldestailleur
54dc4452aa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-10-01 17:27:12 +02:00
ldestailleur
5c14e454ad FIX #35573 FIX #35241 2025-10-01 16:13:01 +02:00
Charlène Benke
a91cf6086a Add hook on expense api (#35438)
* Add hook on expense api

* Fix SQL query construction in api_shipments.class.php

* Add global hookmanager declaration in api_shipments

* Remove unnecessary blank lines in api_shipments.class.php

* Remove unnecessary blank lines in api_shipments.class.php

* Update api_shipments.class.php

* Update api_shipments.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-29 21:26:41 +02:00
Frédéric FRANCE
700463596e verify if file exists before trying to include (#35548)
* verify if file exists before trying to include

* verify if file exists before trying to include
2025-09-29 20:42:44 +02:00
Frédéric FRANCE
164f2c4414 clean code (#35539)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-28 23:19:33 +02:00