2
0
forked from Wavyzz/dolibarr

Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0

Conflicts:
	htdocs/commande/class/commande.class.php
This commit is contained in:
Laurent Destailleur
2018-03-13 18:04:18 +01:00
2 changed files with 9 additions and 3 deletions

View File

@@ -3143,6 +3143,12 @@ class Commande extends CommonOrder
// End call triggers
}
if ($this->nb_expedition() != 0)
{
$this->errors[] = $langs->trans('SomeShipmentExists');
$error++;
}
if (! $error)
{
// Delete order details