[FIX] problem that made the partners view crash
bzr revid: nicolas.vanhoren@openerp.com-20120622143320-5auneze02g29hvzi
This commit is contained in:
parent
a139c6fc6c
commit
83d27ba827
|
@ -510,6 +510,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
}
|
||||
if (result.domain) {
|
||||
function edit_domain(node) {
|
||||
if (typeof node !== "object") {
|
||||
return;
|
||||
}
|
||||
var new_domain = result.domain[node.attrs.name];
|
||||
if (new_domain) {
|
||||
node.attrs.domain = new_domain;
|
||||
|
|
Loading…
Reference in New Issue