I'm sorry, I just noticed that the message I posted previously was removing the 
tags from my code because of html.  Here it is again after I disable html.

<?xml version="1.0" encoding="utf-8"?>
<openerp> 
&nbsp; &nbsp;<data>
&nbsp; &nbsp;
&nbsp; &nbsp;<record model="ir.actions.act_window" 
id="action_travel_hostel_form">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="name">Hostel</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="res_model">travel.hostel</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="view_type">form</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="view_mode">form,tree</field>
&nbsp; &nbsp;</record>
&nbsp; &nbsp;<menuitem name="Travel Agency/Hostels" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;id="menu_travel_hostel_form" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;action="action_travel_hostel_form"/>

&nbsp; &nbsp;<record model="ir.actions.act_window" id="action_travel_room_form">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="name">Room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="res_model">travel.room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="view_mode">form,tree</field>
&nbsp; &nbsp;</record>
&nbsp; &nbsp;<menuitem name="Travel Agency/Rooms" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;id="menu_travel_room_form" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;action="action_travel_room_form"/>

&nbsp; &nbsp;<record model="ir.actions.act_window" 
id="action_travel_room_form1">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="name">Single Rooms</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="res_model">travel.room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field 
name="domain">&#91;&#40;'beds','=',1&#41;&#93;</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="view_mode">tree,form</field>
&nbsp; &nbsp;</record>
&nbsp; &nbsp;<menuitem name="Travel Agency/Rooms/Single rooms" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;id="menu_travel_room_form1" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;action="action_travel_room_form1"/>

&nbsp; &nbsp;<record model="ir.actions.act_window" 
id="action_travel_room_form2">
&nbsp; &nbsp; &nbsp; &nbsp;<field name="name">Double Rooms</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="res_model">travel.room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field 
name="domain">&#91;&#40;'beds','=',2&#41;&#93;</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="view_mode">tree,form</field>
&nbsp; &nbsp;</record>
&nbsp; &nbsp;<menuitem name="Travel Agency/Rooms/Double rooms" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;id="menu_travel_room_form2" 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;action="action_travel_room_form2"/>

&nbsp; &nbsp;<record model="ir.ui.view" id="view_travel_room_form">
&nbsp; &nbsp;<field name="name">travel.room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="model">travel.room</field>
&nbsp; &nbsp; &nbsp; &nbsp;<field name="arch" type="xml">
&nbsp; &nbsp; &nbsp; &nbsp;<form string="Room">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<separator string="Product/Room 
related fields" colspan="4"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="name" select="1"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="list_price" select="1"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<separator string="Hostel related 
Fields" colspan="4"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="hostel_id" select="1"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="beds" select="1"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="view" select="1"/>
&nbsp; &nbsp; &nbsp; &nbsp;</form>
&nbsp; &nbsp;</field>
&nbsp; &nbsp;</record>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;<record model="ir.ui.view" id="view_travel_hostel_form">
&nbsp; &nbsp;<field name="name">travel.hostel</field>
&nbsp; &nbsp;<field name="model">travel.hostel</field>
&nbsp; &nbsp;<field name="type">form</field>
&nbsp; &nbsp;<field name="arch" type="xml">
&nbsp; &nbsp; &nbsp; &nbsp;<form string="Hostel">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="name"/> 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="quality"/> 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<newline/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<separator string="Rooms" colspan="4"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<field name="room_ids" nolabel="1" 
colspan="4"/>
&nbsp; &nbsp; &nbsp; &nbsp;</form>
&nbsp; &nbsp;</field>
&nbsp; &nbsp;</record> 
</data> </openerp> 




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=32266#32266

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to