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.
 
 
 
 
 

45 lines
1.8 KiB

<odoo>
<data>
<record id="mobile_complaint_template_form_view" model="ir.ui.view">
<field name="name">mobile.complaint.template.form</field>
<field name="model">mobile.complaint.description</field>
<field name="arch" type="xml">
<form string="Complaint Template">
<sheet>
<group>
<field name="complaint_type_template"/>
<field name="description"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="mobile_complaint_template_tree_view" model="ir.ui.view">
<field name="name">mobile.complaint.type.tree</field>
<field name="model">mobile.complaint.description</field>
<field name="arch" type="xml">
<tree>
<field name="complaint_type_template"/>
<field name="description"/>
</tree>
</field>
</record>
<record id="action_mobile_complaint_template" model="ir.actions.act_window">
<field name="name">Complaint Types</field>
<field name="res_model">mobile.complaint.description</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_complaint_template_tree_view"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<menuitem action="action_mobile_complaint_template" id="mobile_service_shop_conf6" parent="mobile_service_shop_configuration"
name="Complaint Templates" sequence="3"/>
</data>
</odoo>