[-] BO : BugFix : #PSCFV-2973 : Product Return : unable to create a product return
This commit is contained in:
1 parent
7fe354a5ab
commit
084b0f8bd3
1 file changed
+1
-1
@@ -153,7 +153,7 @@ class AdminReturnControllerCore extends AdminController
|
|||||||
public function initToolbar()
|
public function initToolbar()
|
||||||
{
|
{
|
||||||
// If display list, we don't want the "add" button
|
// If display list, we don't want the "add" button
|
||||||
if (!$this->display)
|
if (!$this->display || $this->display == 'list')
|
||||||
return;
|
return;
|
||||||
parent::initToolbar();
|
parent::initToolbar();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user