Merge pull request #6834 from atm-ph/fix_fk_project_on_create_order_from_propal

Fix fk project on create order from propal
This commit is contained in:
Laurent Destailleur 2017-05-20 12:13:42 +02:00 committed by GitHub
commit 2021758403

View File

@ -1580,9 +1580,6 @@ if ($action == 'create' && $user->rights->commande->creer)
// Project
if (! empty($conf->projet->enabled) && $socid > 0)
{
$projectid = GETPOST('projectid')?GETPOST('projectid'):0;
if ($origin == 'project') $projectid = ($originid ? $originid : 0);
$langs->load("projects");
print '<tr>';
print '<td>' . $langs->trans("Project") . '</td><td colspan="2">';