[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
This commit is contained in:
Xavier Morel 2011-10-04 12:48:48 +02:00
parent 3190884fa1
commit 29cef016f9
1 changed files with 1 additions and 0 deletions

View File

@ -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
});
},