mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Merge pull request #149 from diagramsoftware/8.0-mrp_production_real_cost-fix_old_api_inherit
[8.0][FIX]mrp_production_real_cost: fix error in old api inherit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user