summaryrefslogtreecommitdiff
path: root/addons/theme_default/data/theme_default_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-03-21 16:45:02 +0100
committerThibault Delavallée <tde@odoo.com>2017-03-21 17:20:50 +0100
commitff0053b416958e89ef98bd97b7a50c1e371f7146 (patch)
tree5eb9cfcf983f28826b797b2f1a99d58d875dcfb0 /addons/theme_default/data/theme_default_data.xml
parentb512c65181e0a3e1eb64cb7a73e9fb91042072bf (diff)
[FIX] crm: fix behavior of 'Emails' checkbox in settings
Currently there are several issues with this configuration box * default_<field> does not generate automatically ir.values anymore. Defining default_model does not work since it is not linked to an existing <field> in current model sale.config.settings. Checkbox value is therefore not saved and lost at reload; * box label is not clear as user may understand unchecking it drops all aliases or email support. This is not the case as it is only used to define an alias creating unassigned leads. This is a rare use case where leads assignation is done manually; * checking / unchecking the 'Emails' box does not have any effect on default info alias. This is counter-intuitive as user asks to remove the feature but it still works in background; This commit fixes those issues by * correctly setting the checkbox value in an ir.config_parameter so that it is not lost anymore at reload; * inactivating info alias by default; * adding onchanges so that values are reset when unchecking checkboxes; * updating string and displayed label and helps for the 'Emails' section; * putting that Emails checkbox in advanced mode as it is a rare use case;
Diffstat (limited to 'addons/theme_default/data/theme_default_data.xml')
0 files changed, 0 insertions, 0 deletions