[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
This commit is contained in:
committed by
Yannick Tivisse
parent
5be1fabc9c
commit
9f8e37c57d
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user