Merge pull request #7380 from tysauron/patch-8

$soc->getAvailableDiscounts .   where soc not set.
This commit is contained in:
Laurent Destailleur 2017-09-14 12:12:20 +02:00 committed by GitHub
commit 51d1c35399

View File

@ -1441,7 +1441,6 @@ if ($action == 'create' && $user->rights->commande->creer)
$note_private = $object->getDefaultCreateValueFor('note_private');
$note_public = $object->getDefaultCreateValueFor('note_public');
}
$absolute_discount=$soc->getAvailableDiscounts();
print '<form name="crea_commande" action="' . $_SERVER["PHP_SELF"] . '" method="POST">';