From b1f66324b0ed9683d4f8ef027560458ec7509f45 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Fri, 9 Jul 2010 14:18:23 +0530 Subject: [PATCH] [FIX] mrp_repair: fixed small issue bzr revid: hmo@tinyerp.com-20100709084823-b5endvvzfv2fo4l4 --- addons/mrp_repair/mrp_repair.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py index a3eac181231..819acffd4ae 100644 --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@ -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: