From 29cef016f90c7e1d118abbe899eac57ecaeff2c6 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 4 Oct 2011 12:48:48 +0200 Subject: [PATCH] [FIX] re-rendering of a given list's row (e.g. onchange, edition, etc...): 'view' needs to be in the context so the row's color can be computed bzr revid: xmo@openerp.com-20111004104848-277ajqmaud8oc8hn --- addons/web/static/src/js/view_list.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 985380d4c49..719c7117d65 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -896,6 +896,7 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis options: this.options, record: record, row_parity: (index % 2 === 0) ? 'even' : 'odd', + view: this.view, render_cell: openerp.web.format_cell }); },