2
0
forked from Wavyzz/dolibarr

Merge pull request #28778 from fappels/develop_fix_delivery_note

Fix shipping is not a delivery_note (is sub module of shipping)
This commit is contained in:
Laurent Destailleur
2024-03-12 14:53:51 +01:00
committed by GitHub
41 changed files with 73 additions and 73 deletions

View File

@@ -3826,7 +3826,7 @@ class Commande extends CommonOrder
$result = '';
if (isModEnabled("delivery_note") && ($option == '1' || $option == '2')) {
if (isModEnabled("shipping") && ($option == '1' || $option == '2')) {
$url = DOL_URL_ROOT.'/expedition/shipment.php?id='.$this->id;
} else {
$url = DOL_URL_ROOT.'/commande/card.php?id='.$this->id;