diff options
Diffstat (limited to 'indoteknik_custom/views/cost_centre.xml')
| -rw-r--r-- | indoteknik_custom/views/cost_centre.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/indoteknik_custom/views/cost_centre.xml b/indoteknik_custom/views/cost_centre.xml new file mode 100644 index 00000000..3e4d2736 --- /dev/null +++ b/indoteknik_custom/views/cost_centre.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="cost_centre_tree" model="ir.ui.view"> + <field name="name">cost.centre.tree</field> + <field name="model">cost.centre</field> + <field name="arch" type="xml"> + <tree editable="top"> + <field name="name"/> + <field name="description"/> + </tree> + </field> + </record> + + <record id="cost_centre_form" model="ir.ui.view"> + <field name="name">cost.centre.form</field> + <field name="model">cost.centre</field> + <field name="arch" type="xml"> + <form> + <sheet string="Cost Centre"> + <group> + <group> + <field name="name" required="1"/> + <field name="description"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="cost_centre_action" model="ir.actions.act_window"> + <field name="name">Cost Centre</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">cost.centre</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem name="Cost Centre" action="cost_centre_action" + id="menu_cost_centre" + parent="account.menu_finance_entries" sequence="112"/> +</odoo>
\ No newline at end of file |
