Skip to content

Commit cc19c28

Browse files
committed
[FIX] {crm_livechat,utm}: set no update
Steps to reproduce: 1) Install utm module. 2) In link tracker edit utm named LinkedIn or any and add another with same name. 3) update the module. We get an error that utm_medium or utm_source should be unique. create goes through `_get_unique_names` method so its only a problem when updating the record. closes odoo#202567 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
1 parent a938d85 commit cc19c28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

addons/crm_livechat/data/utm_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<odoo>
2+
<odoo noupdate="1">
33
<record model="utm.source" id="utm_source_livechat">
44
<field name="name">Livechat</field>
55
</record>

addons/utm/data/utm_medium_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<odoo>
2+
<odoo noupdate="1">
33
<record model="utm.medium" id="utm_medium_website">
44
<field name="name">Website</field>
55
</record>

addons/utm/data/utm_source_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<odoo>
2+
<odoo noupdate="1">
33
<record model="utm.source" id="utm_source_search_engine">
44
<field name="name">Search engine</field>
55
</record>

0 commit comments

Comments
 (0)