Wrong usage of Group.context which should be called
issue7614 review54301002
This commit is contained in:
1 parent
230377544d
commit
3f337f0036
1 file changed
+1
-1
+1
-1
@@ -99,7 +99,7 @@
|
||||
array.get_readonly = function() {
|
||||
// Must skip res.user for Preference windows
|
||||
var access = Sao.common.MODELACCESS.get(this.model.name);
|
||||
if (this.context._datetime ||
|
||||
if (this.context()._datetime ||
|
||||
(!(access.write || access.create) &&
|
||||
!this.skip_model_access)) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user