summaryrefslogtreecommitdiff
path: root/addons/utm
diff options
context:
space:
mode:
authoryhu-odoo <yhu@odoo.com>2020-01-05 18:33:00 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-14 15:12:25 +0000
commit6dd1bfe80ad56b1565a5a7866ca618cc4cd1d0af (patch)
tree430bfced1312f039f042622df68f26c3fe8baa67 /addons/utm
parentcaf11fade0e2c9979375cb5d20bae2f80af25f46 (diff)
[IMP] calendar, utm: add multi-edit support for some tree views
PURPOSE Allow multi-edit for calendar event and utm campaigns. Indeed it gives flexibility to users when they have to edit several records at once. SPECIFICATION Enable multi-edit in each of the following views * calendar.view_calendar_event_tree * utm.utm_campaign_view_tree Set the fields not editable to be readonly. LINKS PR #42786 Task 2078662 Related: odoo/enterprise#7553 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/utm')
-rw-r--r--addons/utm/views/utm_campaign_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/utm/views/utm_campaign_views.xml b/addons/utm/views/utm_campaign_views.xml
index 79e15ee4cdd..bacb7834d84 100644
--- a/addons/utm/views/utm_campaign_views.xml
+++ b/addons/utm/views/utm_campaign_views.xml
@@ -45,8 +45,8 @@
<field name="name">utm.campaign.view.tree</field>
<field name="model">utm.campaign</field>
<field name="arch" type="xml">
- <tree string="UTM Campaigns">
- <field name="name"/>
+ <tree string="UTM Campaigns" multi_edit="1">
+ <field name="name" readonly="1"/>
<field name="user_id"/>
<field name="stage_id"/>
<field name="tag_ids" widget="many2many_tags"/>