diff --git a/core/views/core_view.xml b/core/views/core_view.xml index db8df6909..80c89e0dd 100644 --- a/core/views/core_view.xml +++ b/core/views/core_view.xml @@ -132,6 +132,9 @@ + + 0 + diff --git a/warehouse/wizard/stock_transceive_wizard.py b/warehouse/wizard/stock_transceive_wizard.py index 5b918acf0..1ac1cb404 100644 --- a/warehouse/wizard/stock_transceive_wizard.py +++ b/warehouse/wizard/stock_transceive_wizard.py @@ -50,6 +50,7 @@ def open_report(self): 'type': 'ir.actions.act_window', 'res_model': 'report.stock.transceive', 'view_mode': 'tree', + 'target':'main', 'name': u'商品收发明细表 %s 至 %s ' % (self.date_start, self.date_end), 'context': self.read(['date_start', 'date_end', 'warehouse_id', 'goods_id'])[0], 'limit': 65535,