Skip to content

Commit c59eb97

Browse files
committed
🚑 access_limit_max_users: fixed impossibility to successfully edit any user
1 parent 81ec732 commit c59eb97

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

access_limit_max_users/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"category": "Hidden",
88
# "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=14.0",
99
"images": [],
10-
"version": "14.0.1.1.0",
10+
"version": "14.0.1.1.1",
1111
"application": False,
1212
"author": "IT-Projects LLC, Eugene Molotov",
1313
"support": "apps@it-projects.info",

access_limit_max_users/doc/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
`1.1.1`
2+
-------
3+
4+
- **Fix**: Fixed impossibility to successfully edit any user
5+
16
`1.1.0`
27
-------
38

access_limit_max_users/models/res_users.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def create(self, vals):
1717
)
1818
return super(ResUsers, self).create(vals)
1919

20-
@api.model
2120
def write(self, vals):
2221
if vals.get("is_excluded_from_limiting") and not self.env.is_superuser():
2322
raise ValidationError(

0 commit comments

Comments
 (0)