1
1
<?xml version="1.0"?>
4
<menuitem id="hotel_configuration_menu" name="Hotel Management/Configuration" sequence="1"/>
5
<menuitem id="hotel_report_menu" name="Hotel Management/Reports" sequence="6"/>
4
8
<!--====================================================
6
10
==================================================== -->
8
12
<record model="ir.ui.view" id="view_hotel_floor_form">
9
13
<field name="name">hotel.floor.form</field>
10
14
<field name="model">hotel.floor</field>
32
36
<field name="res_model">hotel.floor</field>
33
37
<field name="view_type">form</field>
34
38
<field name="view_mode">tree,form</field>
36
<menuitem name="Hotel Management" id="menu_hotel_mgt"/>
37
<menuitem name="Configuration" parent="menu_hotel_mgt" id="menu_config"/>
38
<menuitem name="Floor" parent="menu_config"
39
id="menu_open_hotel_floor_form_tree"
40
action="open_hotel_floor_form_tree"/>
42
<!--====================================================================
40
<menuitem name="Floor"
41
id="menu_open_hotel_floor_form_tree"
42
action="open_hotel_floor_form_tree"
44
parent="hotel_configuration_menu"/>
46
<!--====================================================================
44
48
====================================================================-->
71
75
<field name="view_type">form</field>
72
76
<field name="view_mode">tree,form</field>
74
<menuitem name="Amenities Types" parent="menu_config"
78
<menuitem name="Amenity Types"
75
79
id="menu_action_hotel_room_amenities_type_view_form"
76
action="action_hotel_room_amenities_type_view_form"/>
80
action="action_hotel_room_amenities_type_view_form"
82
parent="hotel_configuration_menu"/>
80
86
<!--===============================================================
82
88
===============================================================-->
84
90
<record model="ir.ui.view" id="view_hotel_room_amenities_form">
85
91
<field name="name">hotel.room_amenities_form</field>
86
92
<field name="model">hotel.room_amenities</field>
162
168
<field name="view_mode">tree,form</field>
163
169
<field name="view_id" ref="view_hotel_room_amenities_list"/>
165
<menuitem name="Amenities" parent="menu_hotel_mgt"
171
<menuitem name="Amenities"
166
172
id="menu_action_hotel_room_amenities_view_form"
167
action="action_hotel_room_amenities_view_form"/>
173
action="action_hotel_room_amenities_view_form"
175
parent="menu_action_hotel_room_amenities_type_view_form"/>
169
177
<!--========================================================
171
179
========================================================-->
195
203
<field name="res_model">hotel.room_type</field>
196
204
<field name="view_type">form</field>
197
205
<field name="view_mode">tree,form</field>
199
<menuitem name="Room Type" parent="menu_config"
200
id="menu_open_hotel_room_type_form_tree"
201
action="open_hotel_room_type_form_tree"/>
207
<menuitem name="Room Types"
208
id="menu_open_hotel_room_type_form_tree"
209
action="open_hotel_room_type_form_tree"
211
parent="hotel_configuration_menu"/>
203
213
<!--===================================================
205
215
=================================================== -->
218
228
<field name="categ_id" select="1" domain="[('isroomtype','=',True)]"/>
219
229
<field name="state" select="2" string="Room Status"/>
220
230
<!-- <field name="type" select="2"/>-->
222
232
<!-- <field name="maxAdult" />-->
223
233
<!-- <field name="maxChild" /> -->
225
235
<!-- <field name="procure_method"/>-->
227
237
<field name="uom_id"/>
228
238
<!-- <field name="uom_po_id"/>-->
229
239
<field name="product_manager" select="2"/>
242
252
<field name="list_price"/>
243
253
<field name="rental" select="2"/>
245
255
<!-- <field name="sale_ok" select="2"/>-->
246
256
<field name="standard_price"/>
247
257
<!-- <field name="purchase_ok" select="2"/>-->
248
258
<field name="cost_method"/>
252
262
<field name="price_margin"/>
253
263
<field name="price_extra"/>
291
301
<field name="view_type">form</field>
292
302
<field name="view_mode">tree,form</field>
295
<menuitem name="Rooms" parent="menu_hotel_mgt"
296
id="menu_open_hotel_room_form"
297
action="action_hotel_room_form"/>
305
<menuitem name="Rooms"
306
id="menu_open_hotel_room_form"
307
action="action_hotel_room_form"
309
parent="menu_open_hotel_room_type_form_tree"/>
299
311
<!-- Services -->
301
313
<record model="ir.ui.view" id="view_hotel_service_type_form">
302
314
<field name="name">hotel.service_type.form</field>
303
315
<field name="model">hotel.service_type</field>
324
336
<field name="res_model">hotel.service_type</field>
325
337
<field name="view_type">form</field>
326
338
<field name="view_mode">tree,form</field>
328
<menuitem name="Services Type" parent="menu_config"
329
id="menu_open_hotel_service_type_form_tree"
330
action="open_hotel_service_type_form_tree"/>
340
<menuitem name="Service Types"
341
id="menu_open_hotel_service_type_form_tree"
342
action="open_hotel_service_type_form_tree"
344
parent="hotel_configuration_menu"/>
333
347
<record model="ir.ui.view" id="view_hotel_services_form">
334
348
<field name="name">.hotel.services.form</field>
335
349
<field name="model">hotel.services</field>
407
421
<field name="view_type">form</field>
408
422
<field name="view_mode">tree,form</field>
411
<menuitem name="Services" parent="menu_hotel_mgt"
412
id="menu_open_hotel_services_form"
413
action="action_hotel_services_form"/>
425
<menuitem name="Services"
426
id="menu_open_hotel_services_form"
427
action="action_hotel_services_form"
429
parent="menu_open_hotel_service_type_form_tree"/>
416
432
<!--========================================================
448
464
<field name="checkout_date" on_change="on_change_checkout(checkin_date,checkout_date)" />
449
465
<separator string="Automatic Declaration" colspan="4"/>
450
466
<field name="product_uom_qty"
451
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, parent.fiscal_position, 'lang' in context and context['lang'], False, parent.date_order)"
467
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"
452
468
context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
454
470
<field name="product_uom"
455
471
on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"
456
472
string="Rent(UOM)"/>
457
473
<field name="product_id"
458
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, parent.fiscal_position, 'lang' in context and context['lang'], True, parent.date_order)"
474
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], True, parent.date_order)"
459
475
context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
460
476
colspan="4" select="1" domain="[('isroom','=',True)]" string="Room No"/>
461
477
<separator string="Manual Description"
505
521
<page string="Service Line">
506
522
<separator string="Automatic Declaration" colspan="4"/>
507
523
<field name="product_uom_qty"
508
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, parent.fiscal_position, 'lang' in context and context['lang'], False, parent.date_order)"
524
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"
509
525
context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
511
527
<field name="product_uom"
512
528
on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"
514
530
<field name="product_id"
515
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, parent.fiscal_position, 'lang' in context and context['lang'], True, parent.date_order)"
531
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], True, parent.date_order)"
516
532
context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
517
533
colspan="4" select="1" domain="[('isservice','=',True)]"/>
518
534
<separator string="Manual Description"
601
616
<field name="name">hotel.folio.tree</field>
602
617
<field name="model">hotel.folio</field>
603
618
<field name="type">tree</field>
605
620
<field name="arch" type="xml">
606
621
<tree string="Hotel Folio1">
608
623
<field name="checkin_date" />
609
624
<field name="checkout_date" />
610
625
<field name="name" select="1"/>
620
635
<field name="view_type">form</field>
621
636
<field name="view_mode">form,tree</field>
623
<menuitem name="Generate Folio" parent="menu_hotel_mgt"
638
<menuitem name="Hotel Management/All Folio/Generate Folio"
624
639
id="menu_open_hotel_folio1_form_tree"
625
action="open_hotel_folio1_form_tree"/>
640
action="open_hotel_folio1_form_tree"
627
643
<record model="ir.actions.act_window" id="open_hotel_folio1_form_tree_all">
628
644
<field name="name">Hotel Folio</field>
629
645
<field name="res_model">hotel.folio</field>
630
646
<field name="view_type">form</field>
631
647
<field name="view_mode">tree,form</field>
633
<menuitem name="All Folio" parent="menu_open_hotel_folio1_form_tree"
649
<menuitem name="Hotel Management/All Folio"
634
650
id="menu_open_hotel_folio1_form_tree_all"
635
action="open_hotel_folio1_form_tree_all"/>
637
<!-- Categories for Room, Amenities, Services -->
651
action="open_hotel_folio1_form_tree_all"
654
<!-- Categories for Room, Amenities, Services -->
639
656
<record model="ir.actions.act_window" id="hotel_room_category_action">
640
657
<field name="type">ir.actions.act_window</field>
641
658
<field name="res_model">product.category</field>
643
660
<field name="view_type">tree</field>
644
661
<field name="view_id" ref="product.product_category_tree_view"/>
646
<menuitem name="Room Type" parent="menu_config" id="menu_room_type"/>
647
<menuitem name="Room by Category" parent="menu_room_type" id="menu_hotel_room_category_action" action="hotel_room_category_action"/>
663
<menuitem name="Room by Category"
664
id="menu_hotel_room_category_action"
665
action="hotel_room_category_action"
667
parent="menu_open_hotel_room_type_form_tree"/>
649
669
<record model="ir.actions.act_window" id="hotel_amenity_category_action">
650
670
<field name="type">ir.actions.act_window</field>
651
671
<field name="res_model">product.category</field>
653
673
<field name="view_type">tree</field>
654
674
<field name="view_id" ref="product.product_category_tree_view"/>
656
<menuitem name="Amenities Types" parent="menu_config" id="menu_amenities"/>
657
<menuitem name="Amenities by Category" parent="menu_amenities" id="menu_hotel_amenity_category_action" action="hotel_amenity_category_action"/>
676
<menuitem name="Amenities by Category"
677
id="menu_hotel_amenity_category_action"
678
action="hotel_amenity_category_action"
680
parent="menu_action_hotel_room_amenities_type_view_form"/>
659
682
<record model="ir.actions.act_window" id="hotel_service_category_action">
660
683
<field name="type">ir.actions.act_window</field>
661
684
<field name="res_model">product.category</field>
663
686
<field name="view_type">tree</field>
664
687
<field name="view_id" ref="product.product_category_tree_view"/>
666
<menuitem name="Services by Category" parent="menu_open_hotel_service_type_form_tree" id="menu_hotel_service_category_action" action="hotel_service_category_action"/>
689
<menuitem name="Services by Category"
690
id="menu_hotel_service_category_action"
691
action="hotel_service_category_action"
693
parent="menu_open_hotel_service_type_form_tree"/>
b'\\ No newline at end of file'