Merge
This commit is contained in:
commit
0926c8007a
1 file changed
+12
+12
@@ -161,6 +161,18 @@ this repository contains the full copyright notices and license terms. -->
|
||||
sequence="1" id="menu_product_product_new"
|
||||
action="act_product_form2"/>
|
||||
|
||||
<record model="ir.action.act_window" id="act_product_by_category">
|
||||
<field name="name">Product by Category</field>
|
||||
<field name="res_model">product.product</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="context">{'categories': [active_id]}</field>
|
||||
<field name="domain">[('category','child_of', [active_id], 'parent')]</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_product_by_category_keyword1">
|
||||
<field name="keyword">tree_open</field>
|
||||
<field name="model">product.category,0</field>
|
||||
<field name="action" ref="act_product_by_category"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.access" id="access_product">
|
||||
<field name="model" search="[('model', '=', 'product.product')]"/>
|
||||
|
||||
Reference in new issue
Block a user