[FIX] have readonly m2o links open forms in readonly as well
bzr revid: xmo@openerp.com-20111207104942-w3x6trs3utk6fwpw
This commit is contained in:
@@ -142,7 +142,7 @@ openerp.web.page = function (openerp) {
|
||||
res_model: self.field.relation,
|
||||
res_id: self.value[0],
|
||||
context: self.build_context(),
|
||||
views: [[false, 'form']],
|
||||
views: [[false, 'page'], [false, 'form']],
|
||||
target: 'current'
|
||||
});
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user