Skip to content

Commit 9309c47

Browse files
Update static/description/index.html and project files
1 parent 05cbd69 commit 9309c47

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

records_management/demo/odoo.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<odoo>
3+
<record id="product_1" model="product.product">
4+
<field name="name">Sample Product</field>
5+
<!-- other fields -->
6+
</record>
7+
<!-- more records -->
8+
</odoo>
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<odoo>
2+
<data>
3+
<!-- Inventory Tree View -->
4+
<record id="view_inventory_tree" model="ir.ui.view">
5+
<field name="name">inventory.tree</field>
6+
<field name="model">records.management.inventory</field>
7+
<field name="arch" type="xml">
8+
<tree>
9+
<field name="name"/>
10+
<field name="location"/>
11+
<field name="quantity"/>
12+
</tree>
13+
</field>
14+
</record>
15+
16+
<!-- Inventory Form View -->
17+
<record id="view_inventory_form" model="ir.ui.view">
18+
<field name="name">inventory.form</field>
19+
<field name="model">records.management.inventory</field>
20+
<field name="arch" type="xml">
21+
<form>
22+
<sheet>
23+
<group>
24+
<field name="name"/>
25+
<field name="location"/>
26+
<field name="quantity"/>
27+
<field name="description"/>
28+
</group>
29+
</sheet>
30+
</form>
31+
</field>
32+
</record>
33+
34+
<!-- Inventory Action -->
35+
<record id="action_inventory" model="ir.actions.act_window">
36+
<field name="name">Inventory</field>
37+
<field name="res_model">records.management.inventory</field>
38+
<field name="view_mode">tree,form</field>
39+
</record>
40+
41+
<!-- Inventory Menu -->
42+
<menuitem id="menu_inventory_root" name="Inventory" sequence="10"/>
43+
<menuitem id="menu_inventory" name="Inventory" parent="menu_inventory_root" action="action_inventory" sequence="10"/>
44+
</data>
45+
</odoo>

0 commit comments

Comments
 (0)