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.
 
 
 
 
 

57 lines
2.2 KiB

<openerp>
<data>
<record model="ir.ui.view" id="cab_location_form_view">
<field name="name">Location</field>
<field name="model">cab.location</field>
<field name="arch" type="xml">
<form string="Cab Location">
<sheet>
<group>
<group>
<field name="name"/>
<field name="state_id"/>
<field name="cab_code"/>
</group>
<group>
<field name="cab_zip"/>
<field name="country_id"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="cab_location_tree_view">
<field name="name">Location</field>
<field name="model">cab.location</field>
<field name="arch" type="xml">
<tree string="Cab Location">
<field name="name"/>
<field name="state_id"/>
<field name="cab_code"/>
<field name="cab_zip"/>
<field name="country_id"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="cab_location_action">
<field name="name">Location</field>
<field name="res_model">cab.location</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form,calender</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">Create Your First Location
</p>
</field>
</record>
<menuitem id="main_cab_management_menu" name="Cab Management"/>
<menuitem id="cab_management_menu" name="Cab Management" parent="main_cab_management_menu"/>
<menuitem id="cab_location_menu" name="Location" parent="cab_management_menu" action="cab_location_action"
groups="base.group_user" sequence="40"/>
</data>
</openerp>