FIX : Keep same project when creating shipping from order
This commit is contained in:
parent
894f484de8
commit
1536bbc65e
@ -988,6 +988,7 @@ if ($action == 'create')
|
||||
if (! empty($conf->projet->enabled))
|
||||
{
|
||||
$projectid = GETPOST('projectid','int')?GETPOST('projectid','int'):0;
|
||||
if(empty($projectid) && ! empty($object->fk_project)) $projectid = $object->fk_project;
|
||||
if ($origin == 'project') $projectid = ($originid ? $originid : 0);
|
||||
|
||||
$langs->load("projects");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user