Add pre-validation on button

issue4121
review8511002
This commit is contained in:
Cédric Krier
2014-09-17 22:05:44 +02:00
parent a2c8111f26
commit 2aa2ee994d
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -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
+3
View File
@@ -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