From 6b80f6ca44206efcdf7bfa00f83f406c451ee054 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Thu, 23 Sep 2010 18:40:14 +0530 Subject: [PATCH] [FIX] Account: Move line tree view corrected in fields_view_get bzr revid: mra@mra-laptop-20100923131014-tief5ypjrlb7azta --- 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 478a3140d6f..a85bfd00316 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -947,7 +947,7 @@ class account_move_line(osv.osv): if field in ('amount_currency', 'currency_id'): attrs.append('on_change="onchange_currency(account_id, amount_currency,currency_id, date, journal_id)"') - attrs.append("attrs='{'readonly':[('state','=','valid')]}'") + attrs.append('''attrs="{'readonly':[('state','=','valid')]}"''') if field in widths: attrs.append('width="'+str(widths[field])+'"')