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.
 
 
 
 
 

46 lines
1.9 KiB

<odoo>
<data>
<!-- Mobile complaint model form view-->
<record id="mobile_complaint_view_form" model="ir.ui.view">
<field name="name">mobile.complaint.view.form</field>
<field name="model">mobile.complaint</field>
<field name="arch" type="xml">
<form string="Complaint Type">
<sheet>
<group>
<group>
<field name="complaint_type"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<!-- Mobile complaint model tree view-->
<record id="mobile_complaint_view_tree" model="ir.ui.view">
<field name="name">mobile.complaint.view.tree</field>
<field name="model">mobile.complaint</field>
<field name="arch" type="xml">
<tree>
<field name="complaint_type"/>
</tree>
</field>
</record>
<!-- Mobile complaint model menu action-->
<record id="mobile_complaint_action" model="ir.actions.act_window">
<field name="name">Complaint Types</field>
<field name="res_model">mobile.complaint</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="mobile_complaint_view_tree"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to Create a New Record.
</p>
</field>
</record>
<!-- Mobile complaint type menu-->
<menuitem action="mobile_complaint_action" id="mobile_complaint_menu_type"
parent="mobile_service_menu_configuration"
name="Complaint Type" sequence="3"/>
</data>
</odoo>