mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[8.0][IMP] mrp_production_estimated_cost: change property name (#221)
This commit is contained in:
@@ -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, "
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user