summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-10-02 13:45:38 +0200
committerThibault Delavallée <tde@odoo.com>2018-10-02 17:09:23 +0200
commite3a2bfc80cce265ed41ccea8e85d57be74eecd7e (patch)
treedbad53b8eb5e26253abdaf53bf2ca67b7b5193ae
parent0c452d51adbd0174168f80bf9e527ee0bcb8c409 (diff)
[IMP] product: add activity view on main actions
Purpose is to extend the use of the newly-introduced activity view allowing to see at a glance activities to perform on a given model. It eases daily job of people working with activities. Updated * product variant main menu action; * product main actions used in various apps; This commit is linked to task ID 1889413.
-rw-r--r--addons/product/views/product_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index 0c1c30d6440..437693ecce3 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -191,7 +191,7 @@
<field name="name">Product Variants</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.product</field>
- <field name="view_mode">tree,form,kanban</field>
+ <field name="view_mode">tree,form,kanban,activity</field>
<field name="view_type">form</field>
<field name="search_view_id" ref="product_search_form_view"/>
<field name="view_id" eval="False"/> <!-- Force empty -->
@@ -394,7 +394,7 @@
<field name="name">Product Variants</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.product</field>
- <field name="view_mode">kanban,tree,form</field>
+ <field name="view_mode">kanban,tree,form,activity</field>
<field name="view_type">form</field>
<field name="context">{"search_default_filter_to_sell":1}</field>
<field name="view_id" ref="product_product_tree_view"/>