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