diff --git a/CHANGELOG b/CHANGELOG index 934a61ad1f..7004ae522e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add pre-validation on button * Model and Field access checked only if _check_access is set * Add check_access to RPC * Add check_access to Wizard and Report diff --git a/doc/topics/views/index.rst b/doc/topics/views/index.rst index bcccec9424..0f7950479b 100644 --- a/doc/topics/views/index.rst +++ b/doc/topics/views/index.rst @@ -113,6 +113,9 @@ List of attributes shared by many form elements: * ``icon``: Only for button, it must return the icon name to use or False. + * ``pre_validate``: Only for button, it contains a domain to apply + on the record before calling the button. + .. _common-attributes-help: * ``help``: The string that will be displayed when the cursor hovers over