Limit size of One2Many screen without create access
issue11694 review429321003
This commit is contained in:
1 parent
051793812c
commit
2a47c0911c
1 file changed
+1
-1
+1
-1
@@ -3360,7 +3360,7 @@ function eval_pyson(value){
|
||||
domain = field.get_domain(record);
|
||||
size_limit = record.expr_eval(this.attributes.size);
|
||||
}
|
||||
if (this._readonly) {
|
||||
if (this._readonly || !this.create_access) {
|
||||
if (size_limit === null) {
|
||||
size_limit = this.screen.group.length;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user