Merge pull request #6200 from defrance/patch-63

$soc not needed (thirpartie used instead)
This commit is contained in:
Laurent Destailleur 2016-12-23 00:46:22 +01:00 committed by GitHub
commit 66b8cfe9fd

View File

@ -97,9 +97,6 @@ $form = new Form($db);
if ($id > 0 || ! empty($ref)) if ($id > 0 || ! empty($ref))
{ {
$soc = new Societe($db);
$soc->fetch($object->socid);
$head=shipping_prepare_head($object); $head=shipping_prepare_head($object);
dol_fiche_head($head, 'note', $langs->trans("Shipment"), 0, 'sending'); dol_fiche_head($head, 'note', $langs->trans("Shipment"), 0, 'sending');