diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-08-03 15:14:24 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-08-04 08:25:33 +0200 |
| commit | 7cd2f63705f8c4ddfd05c70d79aa6261ae191d18 (patch) | |
| tree | 7518af4a55db50845782a251011ec9fb46ca9309 /addons/base_setup/views | |
| parent | 54e4e3156f5990a9e58abaad5e051c7ea67aea74 (diff) | |
[FIX] *: cancel settings
To reproduce:
- Go Website Admin > Configuration > Settings
- Change the Website Name
- Click on 'Cancel'
The name is saved.
When the "Cancel" button is clicked, we automatically save the record
(which is a transient model). Since the field is a related to the
company, the name is changed even if we canceled.
opw-760749
Diffstat (limited to 'addons/base_setup/views')
| -rw-r--r-- | addons/base_setup/views/res_config_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/base_setup/views/res_config_views.xml b/addons/base_setup/views/res_config_views.xml index 0e2b3f7274b..09d551f72cd 100644 --- a/addons/base_setup/views/res_config_views.xml +++ b/addons/base_setup/views/res_config_views.xml @@ -7,7 +7,7 @@ <form string="General Settings" class="oe_form_configuration"> <header> <button string="Apply" type="object" name="execute" class="oe_highlight"/> - <button string="Cancel" type="object" name="cancel" class="oe_link"/> + <button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/> </header> <separator string="General Settings"/> <div> |
