Button can be enable on readonly record and group
issue5010 review27391002
This commit is contained in:
1 parent
1acc508800
commit
659565265d
1 file changed
-3
@@ -744,9 +744,6 @@
|
||||
var states;
|
||||
if (record) {
|
||||
states = record.expr_eval(this.attributes.states || {});
|
||||
if (record.group.get_readonly() || record.readonly()) {
|
||||
states.readonly = true;
|
||||
}
|
||||
} else {
|
||||
states = {};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user