summaryrefslogtreecommitdiff
path: root/addons/website_customer/views
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2017-07-19 15:21:59 +0200
committerAdrien Dieudonne <adr@odoo.com>2017-07-24 09:32:49 +0200
commita47d2d88d028d5a959650c9c8f62809340179fda (patch)
tree157783e1facaa82446c5e8b11e769fb9528fc19e /addons/website_customer/views
parent666b59484201004e2cd8890a9c09b6dcf023a725 (diff)
[FIX] *: wrong `color_field` attribute for m2m_tags
This fix previous commit a29f7f671b. (1) Some objects have no color field. (2) There was an issue when two many2many tags were instantiated: If the first one had the 'color_field' attribute the second one had it too even if this attribute weren't specified. Now, it's fixed in data_manager
Diffstat (limited to 'addons/website_customer/views')
-rw-r--r--addons/website_customer/views/res_partner_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_customer/views/res_partner_views.xml b/addons/website_customer/views/res_partner_views.xml
index a756453c4f6..69c59989879 100644
--- a/addons/website_customer/views/res_partner_views.xml
+++ b/addons/website_customer/views/res_partner_views.xml
@@ -7,7 +7,7 @@
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='company_id']" position="after">
- <field name="website_tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" string="Website Tags"/>
+ <field name="website_tag_ids" widget="many2many_tags" string="Website Tags"/>
</xpath>
</data>
</field>