Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] hotel #198

Merged
merged 143 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
ab4c5e3
[IMP] Improve the module
May 22, 2012
9df6c35
[IMP] Improve the report and wizard code
May 23, 2012
5bc8ea4
[FIX/REF]Fixed the issues given and refactored the code
May 25, 2012
fa26c22
[FIX] Fixing rst typos to comply with new rst2html tool on list of mo…
nhomar Nov 23, 2012
a79bca3
[FIX] Dependencies not necesary
nhomar Nov 23, 2012
ea0916d
[FIX] Taken off all broken views V7 do things better TODO: rewrite ev…
nhomar Nov 23, 2012
17c96f8
[trunk] type is not necesary anymore in views
nhomar Nov 23, 2012
b3b97ba
[IMP] becom app
nhomar Nov 24, 2012
22ab200
[ADD] Icon and statics folder
nhomar Nov 24, 2012
a61982f
mark modules as unported to v8
gurneyalex Oct 17, 2014
9d17de3
[MOV] move addons out of __unported__ (they remain not installable)
sbidoul Oct 13, 2015
42b0e02
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
02294d8
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
e78f212
[ADD]To add migrated hotel module as per v10 standard.
KrishnaPrajapati-SerpentCS Jun 7, 2017
b819512
[REM]Remove pricelist domain in hotel
KrishnaPrajapati-SerpentCS Jun 30, 2017
06029a5
Update __manifest__.py
JayVora-SerpentCS Oct 2, 2017
bd31f57
Create README.rst
JayVora-SerpentCS Oct 2, 2017
4c45ebe
[REF]
JayVora-SerpentCS Oct 3, 2017
1592078
[REF] TRavis
JayVora-SerpentCS Oct 3, 2017
b55bbce
Allowed to change checkout date before the folio is set to done
JayVora-SerpentCS Oct 3, 2017
b02ada3
[IMP]Improved hotel module.
KrishnaPrajapati-SerpentCS Oct 24, 2017
f08e9b2
[REM]Remove unused field name.
KrishnaPrajapati-SerpentCS Oct 25, 2017
24c6c63
[ADD]Added Runbot link in readme.rst file.
KrishnaPrajapati-SerpentCS Oct 25, 2017
9d81318
[REM]Remove description tag in manifest file.
KrishnaPrajapati-SerpentCS Oct 25, 2017
515c147
[IMP]Update domain in service lines in hotel.
KrishnaPrajapati-SerpentCS Oct 26, 2017
33fd1cf
[IMP]Added testcases in test_hotel.py file and Remove index file.
KrishnaPrajapati-SerpentCS Oct 31, 2017
5caed98
[ADD]Added images in description folder in hotel.
KrishnaPrajapati-SerpentCS Oct 31, 2017
926a7d4
[IMP]Added images in readme.rst file in hotel moduke.
KrishnaPrajapati-SerpentCS Oct 31, 2017
793fe9e
[IMP]Improved testcases in hotel module.
KrishnaPrajapati-SerpentCS Nov 2, 2017
3618f74
[FIX]Fix the travis error.
KrishnaPrajapati-SerpentCS Nov 2, 2017
72f8ffe
[MIG] hotel: Migration to 11.0
KrishnaPrajapati-SerpentCS Apr 23, 2018
b230e8b
[FIX] minor change in Readme
serpentcs-dev1 Apr 23, 2018
3a4a664
[IMP]Added OCA in author in manifest file.
KrishnaPrajapati-SerpentCS Apr 23, 2018
0cbefe1
[FIX] data tags
serpentcs-dev1 Jul 23, 2018
99d8a10
[FIX] cosmetic changes and travis
serpentcs-dev1 Jul 25, 2018
4ee41b6
[IMP] manifest and readme
serpentcs-dev1 Jul 26, 2018
0a90a7e
[IMP] improved code reqadibility and iterations in methods
serpentcs-dev1 Jul 31, 2018
38d7627
[IMP] manifest
serpentcs-dev1 Jul 31, 2018
1a7c3a8
[IMP]Made Changes in Code Readiblity
YogeshMahera-SerpentCS Aug 13, 2018
74da9cc
[IMP]Made Changes in Code Readiblity
YogeshMahera-SerpentCS Aug 13, 2018
a702057
Added translation using Weblate (French)
sbidoul Oct 20, 2018
f3ff69c
[MIG]Migarted Module v11: Hotel Reservation
YogeshMahera-SerpentCS Sep 27, 2018
e6dfc96
[MIG]hotel: migrated v11 to v12
vimalpatelserpentcs Dec 20, 2018
f924ae7
[IMP]Hotel: Improvement menifest file and remove extra tags in xml file
vimalpatelserpentcs Dec 26, 2018
8ab5dc8
[IMP]hotel: change year in hotel license file
vimalpatelserpentcs Dec 31, 2018
694d9c2
Update translation files
oca-transbot Mar 3, 2019
a0b6c42
[MIG]hotel_housekeeping:Migrate v11 to v12
dhruvitaSerpentCS Mar 29, 2019
d35a9d1
[FIX] Remove branding
tarteo Apr 25, 2019
16763c4
[IMP] hotel/hotel_reservation: Warnings was fixed
luistorresm May 4, 2019
dc6412e
[UPD] Update hotel.pot
oca-travis May 4, 2019
a85f231
Update translation files
oca-transbot May 20, 2019
b74a3d5
[MIG]hotel_restaurant:Migrate from v11 to v12.
dhruvitaSerpentCS Apr 2, 2019
0806ab0
Translated using Weblate (Portuguese (Brazil))
Aug 30, 2019
ef6c6d2
Translated using Weblate (Portuguese (Brazil))
Sep 2, 2019
7c07c9e
Translated using Weblate (Portuguese (Brazil))
Sep 2, 2019
012e872
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
ff91b8a
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Oct 16, 2019
def68ff
[FIX-Issue] Fixed Error issue-#84
nikul-serpentcs Dec 9, 2019
8752142
[FIX] Fixed Error
nikul-serpentcs Dec 9, 2019
fdec10f
[MIG]hotel:migrated hotel from v12 to v13.
dhruvitaSerpentCS Jul 2, 2020
4ce2c29
[IMP]hotel:Optimised code.
dhruvitaSerpentCS Jul 6, 2020
e3c5032
[IMP]hotel:Optimised code
dhruvitaSerpentCS Jul 6, 2020
70706da
[IMP]hotel:optimised code.
nikitavaghela Sep 10, 2020
de3a30c
[IMP]hotel:Optimised code.
nikitavaghela Sep 11, 2020
8ced8b6
[UPD] Update hotel.pot
oca-travis Sep 11, 2020
9c35d63
[IMP]hotel:Improved code and fields name in hotel.
dhruvitaSerpentCS Sep 21, 2020
6b31a34
[IMP]hotel,hotel_reservation:Improved code.
dhruvitaSerpentCS Sep 23, 2020
e5d577f
Update translation files
oca-transbot Sep 23, 2020
b3e94aa
[IMP]hotel:Improved code.
dhruvitaSerpentCS Oct 23, 2020
4e4d277
[UPD] Update hotel.pot
oca-travis Oct 24, 2020
ff89e91
Update translation files
oca-transbot Oct 24, 2020
a229565
[IMP]Improved README.rst.
dhruvitaSerpentCS Oct 29, 2020
6fec8c8
[UPD] Update hotel.pot
oca-travis Oct 29, 2020
e6b7f2d
Update translation files
oca-transbot Oct 29, 2020
0d020c8
[FIX]hotel:Fixed issue.
dhruvitaSerpentCS Dec 9, 2020
c5fa368
[MIG][14.0] Migrate Module v14.
maitripatel19 May 18, 2021
926c4ac
[FIX]hotel: fixed the travis error
vimalpatelserpentcs Jun 4, 2021
ae42450
[FIX]hotel: fixed runbot error(log warnings)
vimalpatelserpentcs Jun 4, 2021
4f26f87
[14.0][FIX] hotel:Fixed issue
maitripatel19 Jun 28, 2021
aea3109
[14.0][FIX] hotel:Fixed Issues.
maitripatel19 Jun 28, 2021
ed70332
[IMP]hotel: improved the code and fixed issue
vimalpatelserpentcs Jul 2, 2021
b17e590
[14.0][IMP] Hotel: Improved code for hotel module
Rajan-SerpentCS Jul 19, 2021
7693026
[14.0][MIG] hotel_restaurant: Migrated to v14
Rajan-SerpentCS Aug 9, 2021
d12a788
[FIX] hotel: Fixed issue in hotel folio report
Rajan-SerpentCS Aug 9, 2021
39965c8
[MIG] hotel: Migration to 15.0
fetcheping Jan 5, 2022
f8d3917
[UPD] README.rst
OCA-git-bot Jan 28, 2022
5aa431d
[UPD] Update hotel.pot
Jan 28, 2022
e0478ed
Added translation using Weblate (Italian)
mymage Oct 31, 2022
b549e92
[UPD] Update hotel.pot
Oct 31, 2022
cd7ab47
Translated using Weblate (Italian)
mymage Oct 31, 2022
1d3a619
Update translation files
weblate Oct 31, 2022
e53b77f
Translated using Weblate (Italian)
mymage Oct 31, 2022
11b2c4b
Translated using Weblate (Italian)
mymage Nov 2, 2022
96540ce
Translated using Weblate (Italian)
mymage Nov 7, 2022
5051019
Translated using Weblate (Italian)
mymage Nov 16, 2022
62c90ec
Translated using Weblate (Italian)
mymage Nov 21, 2022
afed3d5
Translated using Weblate (Italian)
mymage Nov 28, 2022
4f63a32
Translated using Weblate (Italian)
mymage Dec 23, 2022
a98cc6b
Translated using Weblate (Italian)
mymage Dec 27, 2022
9347d0d
Translated using Weblate (Italian)
mymage Dec 28, 2022
8fc26e4
Translated using Weblate (Italian)
francesco-ooops Dec 29, 2022
8546e7a
Translated using Weblate (Italian)
francesco-ooops Dec 30, 2022
39a7ee6
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
3ec1216
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
290e32d
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
bcf0e7d
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
e70b62d
Translated using Weblate (Italian)
francesco-ooops Jan 26, 2023
dd83035
Translated using Weblate (Italian)
mymage Feb 14, 2023
e40a50f
[FIX] [15.0] hotel: fix license
ShwetaSerpentCS Mar 3, 2023
c91a9df
Translated using Weblate (Italian)
francesco-ooops Mar 20, 2023
3035953
Translated using Weblate (Italian)
mymage Mar 23, 2023
5240239
Translated using Weblate (Italian)
mymage Apr 5, 2023
feec47f
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
f3f94f3
Translated using Weblate (Italian)
mymage Apr 12, 2023
9385a66
Translated using Weblate (Italian)
mymage Apr 21, 2023
54d196e
Translated using Weblate (Italian)
francesco-ooops Apr 26, 2023
b0d7ea0
Translated using Weblate (Italian)
mymage May 3, 2023
2e11132
Translated using Weblate (Italian)
mymage May 3, 2023
ad4a599
Translated using Weblate (Italian)
mymage May 9, 2023
089a4b3
Translated using Weblate (Italian)
mymage May 10, 2023
fe62074
Translated using Weblate (Italian)
mymage May 11, 2023
8c79061
Translated using Weblate (Italian)
mymage May 12, 2023
4bdba02
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
33ac125
Translated using Weblate (Italian)
francesco-ooops May 16, 2023
7d6d464
Translated using Weblate (Italian)
francesco-ooops May 17, 2023
40203b1
Translated using Weblate (Italian)
mymage Jun 7, 2023
4e15e1f
Translated using Weblate (Italian)
mymage Jun 9, 2023
b063766
Translated using Weblate (Italian)
mymage Jun 12, 2023
96108e5
Translated using Weblate (Italian)
mymage Jun 30, 2023
ef3d95b
Translated using Weblate (Italian)
francesco-ooops Jul 10, 2023
d511ce1
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
93f03ed
Translated using Weblate (Italian)
francesco-ooops Jul 17, 2023
f6697b3
Translated using Weblate (Italian)
francesco-ooops Jul 25, 2023
236e1ce
[UPD] README.rst
OCA-git-bot Sep 3, 2023
91efa3d
Translated using Weblate (Italian)
mymage Aug 22, 2023
0ec7c41
Translated using Weblate (Italian)
mymage Sep 4, 2023
79dd7dd
Translated using Weblate (Italian)
mymage Sep 13, 2023
5e00df1
Translated using Weblate (Italian)
mymage Sep 21, 2023
e6a558a
[16.0][FIX] Travis
sachin-serpentcs Sep 29, 2023
90e385e
[16.0][MIG] hotel
sachin-serpentcs Sep 29, 2023
4250bb0
[IMP] hotel:improved code
pavan-serpentcs Jul 8, 2024
ece3382
[IMP][16.0] hotel:-hotel_folio.xml improved the filter domain for che…
pavan-serpentcs Jul 12, 2024
213f76b
[IMP][16.0] hotel:Implement code changes as per review comments
pavan-serpentcs Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions hotel/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
================
Hotel Management
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0e13ff5257ddf7c122e7555b50b97862c2c5d69093e98b02e006672559e9cf4d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fvertical--hotel-lightgray.png?logo=github
:target: https://github.com/OCA/vertical-hotel/tree/15.0/hotel
:alt: OCA/vertical-hotel
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/vertical-hotel-15-0/vertical-hotel-15-0-hotel
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/vertical-hotel&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|


Module for Complete Hotel management which includes the basic operations at a hotel/apartment.

You can manage:

* Configure Property

* Hotel Configuration

* Manage history of Check In, Check out

* Manage Folio

* Payment

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/vertical-hotel/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/vertical-hotel/issues/new?body=module:%20hotel%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Serpent Consulting Services Pvt. Ltd.
* OpenERP SA

Contributors
~~~~~~~~~~~~

* Odoo Community Association (OCA)
* Serpent Consulting Services Pvt. Ltd.
* Odoo S.A.
* Rajan Patel <rajan.p.serpentcs@gmail.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/vertical-hotel <https://github.com/OCA/vertical-hotel/tree/15.0/hotel>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions hotel/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
from . import report
39 changes: 39 additions & 0 deletions hotel/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright (C) 2023-TODAY Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Hotel Management",
"version": "16.0.1.0.0",
"author": "Odoo Community Association (OCA), Serpent Consulting \
Services Pvt. Ltd., OpenERP SA",
"category": "Hotel Management",
"website": "https://github.com/OCA/vertical-hotel",
"depends": ["sale_stock", "account"],
"license": "LGPL-3",
"summary": "Hotel Management to Manage Folio and Hotel Configuration",
"demo": ["demo/hotel_data.xml"],
"data": [
"security/hotel_security.xml",
"security/ir.model.access.csv",
"data/hotel_sequence.xml",
"report/report_view.xml",
"report/hotel_folio_report_template.xml",
"views/hotel_folio.xml",
"views/hotel_room.xml",
"views/hotel_room_amenities.xml",
"views/hotel_room_type.xml",
"views/hotel_service_type.xml",
"views/hotel_services.xml",
"views/product_product.xml",
"views/res_company.xml",
"views/actions.xml",
"views/menus.xml",
"wizard/hotel_wizard.xml",
],
"assets": {
"web.assets_backend": ["hotel/static/src/css/room_kanban.css"],
},
"external_dependencies": {"python": ["python-dateutil"]},
"images": ["static/description/Hotel.png"],
"application": True,
}
9 changes: 9 additions & 0 deletions hotel/data/hotel_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<odoo noupdate="1">
<!-- Sequences for hotel folio -->
<record id="seq_hotel_folio" model="ir.sequence">
<field name="name">Hotel Folio</field>
<field name="code">hotel.folio</field>
<field name="prefix">Folio/</field>
<field name="padding">5</field>
</record>
</odoo>
158 changes: 158 additions & 0 deletions hotel/demo/hotel_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
<odoo noupdate="1">
<!-- Floor -->
<record id="hotel_floor_ground0" model="hotel.floor">
<field eval="&quot;Ground&quot;" name="name" />
</record>
<record id="hotel_floor_first0" model="hotel.floor">
<field eval="&quot;First&quot;" name="name" />
<field eval="1" name="sequence" />
</record>
<record id="hotel_floor_second0" model="hotel.floor">
<field eval="&quot;Second&quot;" name="name" />
<field eval="2" name="sequence" />
</record>
<record id="hotel_floor_third0" model="hotel.floor">
<field eval="&quot;Third&quot;" name="name" />
<field eval="3" name="sequence" />
</record>
<!-- hotel_room_amenities_type -->
<record id="hotel_room_amenities_type_0" model="hotel.room.amenities.type">
<field name="name">All Aminities</field>
</record>
<record id="hotel_room_amenities_type_1" model="hotel.room.amenities.type">
<field name="amenity_id" search="[('name', '=', 'All Aminities')]" />
<field name="name">Beds</field>
</record>
<record id="hotel_room_amenities_type_2" model="hotel.room.amenities.type">
<field name="amenity_id" search="[('name', '=', 'All Aminities')]" />
<field name="name">Tables</field>
</record>
<record id="hotel_room_amenities_type_3" model="hotel.room.amenities.type">
<field name="amenity_id" search="[('name', '=', 'Beds')]" />
<field name="name">Single Bed</field>
</record>
<record id="hotel_room_amenities_type_4" model="hotel.room.amenities.type">
<field name="amenity_id" search="[('name', '=', 'Beds')]" />
<field name="name">Double Bed</field>
</record>
<!-- hotel_room_type -->
<record id="rooms" model="hotel.room.type">
<field name="name">All Rooms</field>
</record>
<record id="hotel_room_type_1" model="hotel.room.type">
<field name="categ_id" search="[('name', '=', 'All Rooms')]" />
<field name="name">Single</field>
</record>
<record id="hotel_room_type_2" model="hotel.room.type">
<field name="categ_id" search="[('name', '=', 'All Rooms')]" />
<field name="name">Double</field>
</record>
<record id="hotel_room_type_3" model="hotel.room.type">
<field name="categ_id" search="[('name', '=', 'All Rooms')]" />
<field name="name">Triple</field>
</record>
<!-- hotel_service_type -->
<record id="hotel_service_type_0" model="hotel.service.type">
<field name="name">All Services</field>
</record>
<record id="hotel_service_type_1" model="hotel.service.type">
<field name="service_id" search="[('name', '=', 'All Services')]" />
<field name="name">Fixed</field>
</record>
<record id="hotel_service_type_2" model="hotel.service.type">
<field name="service_id" search="[('name', '=', 'All Services')]" />
<field name="name">Variable</field>
</record>
<!-- hotel_room -->
<record id="hotel_room_0" model="hotel.room">
<field name="name">Single-101</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Single')]" />
<field name="list_price">100.00</field>
<field name="capacity">2</field>
</record>
<record id="hotel_room_1" model="hotel.room">
<field name="name">Single-102</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Single')]" />
<field name="list_price">100.00</field>
<field name="capacity">2</field>
</record>
<record id="hotel_room_2" model="hotel.room">
<field name="name">Single-103</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Single')]" />
<field name="list_price">100.00</field>
<field name="capacity">2</field>
</record>
<record id="hotel_room_3" model="hotel.room">
<field name="name">Double-201</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Double')]" />
<field name="list_price">200.00</field>
<field name="capacity">5</field>
</record>
<record id="hotel_room_4" model="hotel.room">
<field name="name">Double-202</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Double')]" />
<field name="list_price">200.00</field>
<field name="capacity">5</field>
</record>
<record id="hotel_room_5" model="hotel.room">
<field name="name">Double-203</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Double')]" />
<field name="list_price">200.00</field>
<field name="capacity">5</field>
</record>
<record id="hotel_room_6" model="hotel.room">
<field name="name">Triple-101</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Triple')]" />
<field name="list_price">300.00</field>
<field name="capacity">6</field>
</record>
<record id="hotel_room_61" model="hotel.room">
<field name="name">Triple-102</field>
<field name="isroom">1</field>
<field name="room_categ_id" search="[('name', '=', 'Triple')]" />
<field name="list_price">300.00</field>
<field name="capacity">6</field>
</record>
<!-- hotel_services -->
<record id="hotel_service_6" model="hotel.services">
<field name="name">Internet</field>
<field name="isservice">1</field>
<field name="service_categ_id" search="[('name', '=', 'Fixed')]" />
<field name="list_price">200.00</field>
</record>
<record id="hotel_service_0" model="hotel.services">
<field name="name">Taxi</field>
<field name="isservice">1</field>
<field name="service_categ_id" search="[('name', '=', 'Variable')]" />
<field name="list_price">500.00</field>
</record>
<record id="hotel_service_1" model="hotel.services">
<field name="name">Laundry</field>
<field name="isservice">1</field>
<field name="service_categ_id" search="[('name', '=', 'Fixed')]" />
<field name="list_price">150.00</field>
</record>
<!--Amenities -->
<record id="hotel_room_amenities_1" model="hotel.room.amenities">
<field name="name">Toiletries</field>
<field name="iscategid">1</field>
<field name="amenities_categ_id" search="[('name', '=', 'All Aminities')]" />
</record>
<record id="hotel_room_amenities_2" model="hotel.room.amenities">
<field name="name">Iron</field>
<field name="iscategid">1</field>
<field name="amenities_categ_id" search="[('name', '=', 'All Aminities')]" />
</record>
<record id="hotel_room_amenities_3" model="hotel.room.amenities">
<field name="name">Irons Boards</field>
<field name="iscategid">1</field>
<field name="amenities_categ_id" search="[('name', '=', 'All Aminities')]" />
</record>
</odoo>
Loading
Loading