[8.0][IMP] mrp_production_estimated_cost: change property name (#221)

This commit is contained in:
oihane
2017-08-31 09:44:19 +02:00
committed by Pedro M. Baeza
parent 58967497bc
commit 81f52cdb1b
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
{
"name": "Estimated costs in manufacturing orders",
"version": "8.0.1.2.0",
"version": "8.0.1.2.1",
"category": "Manufacturing",
"author": "OdooMRP team, "
"AvanzOSC, "

View File

@@ -130,7 +130,7 @@ class MrpProduction(models.Model):
general_account = (
product.property_account_income or
product.categ_id.property_account_income_categ or
property_obj.get('property_account_expense_categ',
property_obj.get('property_account_income_categ',
'product.category'))
if not production.analytic_account_id:
raise exceptions.Warning(