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:
Maxime Richez
2025-06-19 23:40:11 +02:00
parent fa4c2ae1fb
commit 207f097a95
+1
View File
@@ -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')