mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-25 17:54:05 +02:00
add new module
This commit is contained in:
31
inventory_groups/views/groups.xml
Normal file
31
inventory_groups/views/groups.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record id="inventory_groups_arrangment_view_form" model="ir.ui.view">
|
||||
<field name="name">stock.groups.form</field>
|
||||
<field name="model">stock.groups</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<field name="name" placeholder="Name"/>
|
||||
<group>
|
||||
<field name="parent_id"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="inventory_groups_arrangment_view_action" model="ir.actions.act_window">
|
||||
<field name="name">Groups</field>
|
||||
<field name="res_model">stock.groups</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create Groups
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
<menuitem
|
||||
id="inventory_groups_arrangment_view_menu"
|
||||
name="Groups"
|
||||
action="inventory_groups_arrangment_view_action"
|
||||
parent="stock.menu_product_in_config_stock"
|
||||
/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user