Add pre-validation on button
issue4121 review8511002
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user