[FIX] mrp_repair : Bad reference to a many2one field corrected while creating invoice from repair
lp bug: https://launchpad.net/bugs/646551 fixed bzr revid: jvo@tinyerp.com-20100927115004-t9y6cbkg7phagdtu
This commit is contained in:
parent
2ae7fdcb75
commit
a15e21270b
|
@ -428,7 +428,7 @@ class mrp_repair(osv.osv):
|
|||
raise osv.except_osv(_('Warning !'), _('No product defined on Fees!'))
|
||||
|
||||
if fee.product_id.property_account_income:
|
||||
account_id = fee.product_id.property_account_income
|
||||
account_id = fee.product_id.property_account_income.id
|
||||
elif fee.product_id.categ_id.property_account_income_categ:
|
||||
account_id = fee.product_id.categ_id.property_account_income_categ.id
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue