[FIX] mrp_repair: fixed small issue
bzr revid: hmo@tinyerp.com-20100709084823-b5endvvzfv2fo4l4
This commit is contained in:
parent
811b1092e8
commit
b1f66324b0
|
@ -372,7 +372,7 @@ class mrp_repair(osv.osv):
|
|||
name = operation.name
|
||||
|
||||
if operation.product_id.property_account_income:
|
||||
account_id = operation.product_id.property_account_income
|
||||
account_id = operation.product_id.property_account_income.id
|
||||
elif operation.product_id.categ_id.property_account_income_categ:
|
||||
account_id = operation.product_id.categ_id.property_account_income_categ.id
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue