From b408081195d7925e8a4e272673c7edde5485abce Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Wed, 7 Nov 2012 14:39:44 +0530 Subject: [PATCH] [FIX] Uncaught TypeError: Cannot read property 'attrs' of undefined bzr revid: fka@tinyerp.com-20121107090944-wvkq0e22v1jxyn2s --- addons/account/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 67a55d8f451..c4d710faf64 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -1029,7 +1029,7 @@ class account_move_line(osv.osv): 'move_id': 40, } - document = etree.Element('tree', string=title, editable="top", + document = etree.Element('tree', string=title, on_write="on_create_write", colors="red:state=='draft';black:state=='valid'") fields_get = self.fields_get(cr, uid, flds, context)