diff --git a/hotel_management_odoo/__manifest__.py b/hotel_management_odoo/__manifest__.py index 1a4945e8a..e75d623b1 100644 --- a/hotel_management_odoo/__manifest__.py +++ b/hotel_management_odoo/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################### { 'name': 'Hotel Management', - 'version': '18.0.1.1.0', + 'version': '18.0.1.1.1', 'category': 'Industries', 'summary': """A complete Hotel Management System that cover all areas of Hotel services""" , diff --git a/hotel_management_odoo/doc/RELEASE_NOTES.md b/hotel_management_odoo/doc/RELEASE_NOTES.md index 338dd90b6..a6f979ece 100644 --- a/hotel_management_odoo/doc/RELEASE_NOTES.md +++ b/hotel_management_odoo/doc/RELEASE_NOTES.md @@ -5,8 +5,12 @@ #### ADD - Initial commit for Hotel Management - #### 11.12.2024 #### Version 18.0.1.1.0 #### UPDT -- Fixed the issue Room reservation based on check in and check out date. \ No newline at end of file +- Fixed the issue Room reservation based on check in and check out date. + +#### 19.12.2024 +#### Version 18.0.1.1.1 +#### UPDT +- The key name has been updated based on the latest addons. \ No newline at end of file diff --git a/hotel_management_odoo/models/room_booking_line.py b/hotel_management_odoo/models/room_booking_line.py index 30bd44929..41598b1ce 100644 --- a/hotel_management_odoo/models/room_booking_line.py +++ b/hotel_management_odoo/models/room_booking_line.py @@ -111,8 +111,10 @@ class RoomBookingLine(models.Model): for line in self: base_line = line._prepare_base_line_for_taxes_computation() self.env['account.tax']._add_tax_details_in_base_line(base_line, self.env.company) - line.price_subtotal = base_line['tax_details']['total_excluded_currency'] - line.price_total = base_line['tax_details']['total_included_currency'] + line.price_subtotal = base_line['tax_details']['raw_total_excluded_currency'] + print("total_excluded_currency",line.price_subtotal) + line.price_total = base_line['tax_details']['raw_total_included_currency'] + print("total_included_currency",line.price_total) line.price_tax = line.price_total - line.price_subtotal if self.env.context.get('import_file', False) and not self.env.user. \