summaryrefslogtreecommitdiff
path: root/addons/website_crm/data/website_crm_data.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-11-24 11:48:18 +0100
committerChristophe Simonis <chs@odoo.com>2015-11-30 16:39:13 +0100
commit2769029eefd9456259c664ea846156fc9bd26a91 (patch)
tree3ab4e627ff23414c42d55d6cf54ffdab5aa70e3e /addons/website_crm/data/website_crm_data.xml
parentf2aea91b4a1f31cbc5dabe4f0af9346fec6b50f8 (diff)
[IMP] make form builder opt-in update
In noupdate, the opt-in setting is ignored by migrations and breaks the corresponding feature. If the feature is undesirable, don't install the module.
Diffstat (limited to 'addons/website_crm/data/website_crm_data.xml')
-rw-r--r--addons/website_crm/data/website_crm_data.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/website_crm/data/website_crm_data.xml b/addons/website_crm/data/website_crm_data.xml
index e74672c71b1..c61746b2ad7 100644
--- a/addons/website_crm/data/website_crm_data.xml
+++ b/addons/website_crm/data/website_crm_data.xml
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
- <data noupdate="1">
+ <data>
<record id="crm.model_crm_lead" model="ir.model">
<field name="website_form_default_field_id" ref="crm.field_crm_lead_description" />
<field name="website_form_access">True</field>
<field name="website_form_label">Create a lead</field>
</record>
-
+ </data>
+ <data noupdate="1">
<record id="action_open_website" model="ir.actions.act_url">
<field name="name">Website Contact Form</field>
<field name="target">self</field>