[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.
This commit is contained in:
Thibault Delavallée
2018-10-02 17:09:23 +02:00
parent 0c452d51ad
commit e3a2bfc80c
+2 -2
View File
@@ -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"/>