// AdminSupplyOrdersController: it now possible to create supply order templates, and use them to create actual supply orders

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10745 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-29 14:36:15 +00:00
parent 3cae130e9d
commit e918d53dfa
4 changed files with 162 additions and 15 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ class SupplyOrderCore extends ObjectModel
$res = parent::update($null_values);
if ($res)
if ($res && !$this->is_template)
$this->addHistory();
return $res;
@@ -214,7 +214,7 @@ class SupplyOrderCore extends ObjectModel
$res = parent::add($autodate, $null_values);
if ($res)
if ($res && !$this->is_template)
$this->addHistory();
return $res;