Do not check access when register button click
e6c72b1f23e7 missed to add the decorator on the register method. Closes #14060
This commit is contained in:
@@ -1203,6 +1203,7 @@ class ModelButtonClick(DeactivableMixin, ModelSQL, ModelView):
|
||||
})
|
||||
|
||||
@classmethod
|
||||
@without_check_access
|
||||
def register(cls, model, name, records):
|
||||
pool = Pool()
|
||||
Button = pool.get('ir.model.button')
|
||||
|
||||
Reference in New Issue
Block a user