mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
MIG stock_picklist For Odoo 12.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
'name': 'Stock Picklist',
|
||||
'version': '11.0.1.0.0',
|
||||
'version': '12.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'depends': [
|
||||
'stock_picking_batch',
|
||||
|
||||
@@ -10,7 +10,7 @@ class StockPicklist(models.AbstractModel):
|
||||
_template = 'stock_picklist.report_picklist'
|
||||
|
||||
@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 = self.env['ir.actions.report']._get_report_from_name(report_name)
|
||||
stock_pickings = self.env['stock.picking'].browse(docids)
|
||||
|
||||
Reference in New Issue
Block a user