[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:
parent
3190884fa1
commit
29cef016f9
|
@ -896,6 +896,7 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
|
||||||
options: this.options,
|
options: this.options,
|
||||||
record: record,
|
record: record,
|
||||||
row_parity: (index % 2 === 0) ? 'even' : 'odd',
|
row_parity: (index % 2 === 0) ? 'even' : 'odd',
|
||||||
|
view: this.view,
|
||||||
render_cell: openerp.web.format_cell
|
render_cell: openerp.web.format_cell
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue