You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?xml version="1.0" encoding="utf-8"?> <odoo>
<!-- Agreement Type List View--> <record model="ir.ui.view" id="partner_agreement_type_list_view"> <field name="name">Agreement Type List</field> <field name="model">agreement.type</field> <field name="arch" type="xml"> <tree string="Agreement Types" default_order='name'> <field name="name" string="Type Name"/> <field name="agreement_subtypes_ids" string="Sub-Types"/> </tree> </field> </record>
<!-- Agreement Type Form View --> <record model="ir.ui.view" id="partner_agreement_type_form_view"> <field name="name">Agreement Type Form</field> <field name="model">agreement.type</field> <field name="arch" type="xml"> <form string="Agreement Type"> <sheet> <div class="oe_title"> <label for="name" class="oe_edit_only"/> <h1><field name="name"/></h1> </div> <field name="agreement_subtypes_ids" nolabel="1"> <tree editable="bottom"> <field name="name"/> </tree> </field> </sheet> </form> </field> </record>
<!-- Actions opening views on models --> <record model="ir.actions.act_window" id="partner_agreement_action_type"> <field name="name">Agreement Types</field> <field name="res_model">agreement.type</field> <field name="view_mode">tree,form</field> </record>
</odoo>
|