[IMP] avoid propagation of context when clicking on a readonly m2o (could cause problems)
bzr revid: nicolas.vanhoren@openerp.com-20121026100011-inuk0tzz5cxw7dtr
This commit is contained in:
parent
dbc1176d18
commit
f2c5b7f599
|
@ -3110,7 +3110,6 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
type: 'ir.actions.act_window',
|
||||
res_model: self.field.relation,
|
||||
res_id: self.get("value"),
|
||||
context: self.build_context(),
|
||||
views: [[false, 'form']],
|
||||
target: 'current'
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue