MIG stock_picklist For Odoo 12.

This commit is contained in:
Bhoomi
2019-08-28 17:27:00 -04:00
parent 26c652f2ad
commit f0c9cc585c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
'name': 'Stock Picklist', 'name': 'Stock Picklist',
'version': '11.0.1.0.0', 'version': '12.0.1.0.0',
'category': 'Tools', 'category': 'Tools',
'depends': [ 'depends': [
'stock_picking_batch', 'stock_picking_batch',

View File

@@ -10,7 +10,7 @@ class StockPicklist(models.AbstractModel):
_template = 'stock_picklist.report_picklist' _template = 'stock_picklist.report_picklist'
@api.model @api.model
def get_report_values(self, docids, data=None): def _get_report_values(self, docids, data=None):
report_name = 'stock_picklist.report_picklist' report_name = 'stock_picklist.report_picklist'
report = self.env['ir.actions.report']._get_report_from_name(report_name) report = self.env['ir.actions.report']._get_report_from_name(report_name)
stock_pickings = self.env['stock.picking'].browse(docids) stock_pickings = self.env['stock.picking'].browse(docids)