summaryrefslogtreecommitdiff
path: root/fixco_custom/views/brands_views.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/brands_views.xml')
-rw-r--r--fixco_custom/views/brands_views.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/fixco_custom/views/brands_views.xml b/fixco_custom/views/brands_views.xml
new file mode 100644
index 0000000..09fc75a
--- /dev/null
+++ b/fixco_custom/views/brands_views.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="view_brands_form" model="ir.ui.view">
+ <field name="name">brands.form</field>
+ <field name="model">brands</field>
+ <field name="arch" type="xml">
+ <form string="Brand">
+ <sheet>
+ <group>
+ <field name="name"/>
+ </group>
+ <notebook>
+ <page string="Products">
+ <field name="product_ids">
+ <tree editable="bottom">
+ <field name="name"/>
+ <field name="default_code"/>
+ <field name="list_price"/>
+ </tree>
+ </field>
+ </page>
+ <page string="Categories">
+ <field name="category_ids">
+ <tree>
+ <field name="name"/>
+ </tree>
+ </field>
+ </page>
+ </notebook>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="view_brands_tree" model="ir.ui.view">
+ <field name="name">brands.tree</field>
+ <field name="model">brands</field>
+ <field name="arch" type="xml">
+ <tree>
+ <field name="name"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="brands_action" model="ir.actions.act_window">
+ <field name="name">Brands</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">brands</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ id="menu_brands"
+ name="Brands"
+ parent="sale_management.menu_product_attribute_action"
+ sequence="4"
+ action="brands_action"
+ />
+</odoo> \ No newline at end of file