Skip to content
Snippets Groups Projects
Commit 9f8e37c5 authored by Kinjal Mehta's avatar Kinjal Mehta Committed by Yannick Tivisse
Browse files

[IMP] account: Add a `Products` menuitem under `Configuration`

Purpose
=======

If a user only installs invoicing or accounting, there is no way to easiy manage the product list
parent 5be1fabc
No related branches found
No related tags found
No related merge requests found
......@@ -1907,6 +1907,32 @@
parent="menu_finance_receivables"
action="base.action_partner_customer_form" sequence="100"/>
<record id="product_product_view_tree" model="ir.ui.view">
<field name="name">product.product.tree</field>
<field name="model">product.product</field>
<field name="arch" type="xml">
<tree string="Products">
<field name="default_code"/>
<field name="name"/>
<field name="attribute_value_ids" widget="many2many_tags" groups="product.group_product_variant"/>
<field name="lst_price"/>
<field name="taxes_id" widget="many2many_tags"/>
<field name="supplier_taxes_id" widget="many2many_tags"/>
</tree>
</field>
</record>
<record id="product_product_action" model="ir.actions.act_window">
<field name="name">Products</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_type">form</field>
<field name="view_id" ref="product_product_view_tree"/>
</record>
<menuitem id="menu_product_product_action" name="Products" action="product_product_action" parent="account.menu_finance_configuration" sequence="1"/>
<menuitem id="menu_product_template_action" name="Sellable Products"
parent="menu_finance_receivables"
action="product.product_template_action" sequence="110"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment