diff --git a/mrp_production_real_cost/models/mrp_production.py b/mrp_production_real_cost/models/mrp_production.py index 94f5bc5e3..c31aa1384 100644 --- a/mrp_production_real_cost/models/mrp_production.py +++ b/mrp_production_real_cost/models/mrp_production.py @@ -81,8 +81,8 @@ class MrpProduction(models.Model): 'general_account_id': general_account.id, } - @api.multi - def _costs_generate(self): + @api.model + def _costs_generate(self, production): """ As we are generating the account_analytic_lines for MO in the current module, we override this method in order to avoid