Hotel Restaurant Management
hotel_restaurant · OCA/vertical-hotel
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 13 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
5.56 MB
Module directory on disk
Code analysis
0 migration notes
15 models
30 views
0 HTTP endpoints
Description
This Module is providing table booking facilities and Managing customers orders
You can manage:
- Restaurant Configuration (Food Item, Table)
- Table Reservation

- Manage Food Orders

- Manage Kitchen Order ticket

- Quick Table Reservation Facility With Its Food Order

- Order's History In Hotel Folio

- Payment
- Different Reports are also provided, mainly for Restaurant.
Dependencies
- Odoo dependencies
- Python dependencies
- python-dateutil
- System dependencies
- None
- Required by
- report_hotel_restaurant
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 30
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hotel_manucard_kanban_view |
Menucard Kanban | hotel.menucard | kanban | New |
report_hotel_order_kot |
report_hotel_order_kot | ir.ui.view | qweb | New |
report_order_bill |
report_order_bill | ir.ui.view | qweb | New |
report_res_order_bill |
report_res_order_bill | ir.ui.view | qweb | New |
report_res_table |
report_res_table | ir.ui.view | qweb | New |
report_reserv_order |
report_reserv_order | ir.ui.view | qweb | New |
report_rest_order |
report_rest_order | ir.ui.view | qweb | New |
view_folio_rest_reservation |
view.folio.rest.reservation | folio.rest.reservation | form | New |
view_hotel_menucard_form |
hotel.menucard.form | hotel.menucard | form | New |
view_hotel_menucard_search_new |
hotel.menucard.search | hotel.menucard | search | New |
view_hotel_menucard_tree |
hotel.menucard.list | hotel.menucard | list | New |
view_hotel_menucard_type_form |
hotel_menucard_type_form | hotel.menucard.type | form | New |
view_hotel_menucard_type_tree |
hotel_menucard_type_list | hotel.menucard.type | list | New |
view_hotel_reservation_order_form |
hotel_reservation_order.form | hotel.reservation.order | form | New |
view_hotel_reservation_order_search |
hotel.reservation.order.search | hotel.reservation.order | search | New |
view_hotel_reservation_order_tree |
hotel_reservation_order.list | hotel.reservation.order | list | New |
view_hotel_restaurant_kitchen_order_search |
hotel.restaurant.kitchen.order.tickets.search | hotel.restaurant.kitchen.order.tickets | search | New |
view_hotel_restaurant_kitchen_order_tickets_form |
hotel_restaurant_kitchen_order_tickets.form | hotel.restaurant.kitchen.order.tickets | form | New |
view_hotel_restaurant_kitchen_order_tickets_tree |
hotel_restaurant_kitchen_order_tickets.list | hotel.restaurant.kitchen.order.tickets | list | New |
view_hotel_restaurant_order_form |
hotel_restaurant_order.form | hotel.restaurant.order | form | New |
view_hotel_restaurant_order_search |
hotel.restaurant.order.search | hotel.restaurant.order | search | New |
view_hotel_restaurant_order_tree |
hotel_restaurant_order.list | hotel.restaurant.order | list | New |
view_hotel_restaurant_reservation_form |
hotel_restaurant_reservation.form | hotel.restaurant.reservation | form | New |
view_hotel_restaurant_reservation_search |
hotel.restaurant.reservation.search | hotel.restaurant.reservation | search | New |
view_hotel_restaurant_reservation_tree |
hotel_restaurant_reservation.list | hotel.restaurant.reservation | list | New |
view_hotel_restaurant_tables_form |
hotel_restaurant_tables.form | hotel.restaurant.tables | form | New |
view_hotel_restaurant_tables_search |
hotel_restaurant_tables.search | hotel.restaurant.tables | search | New |
view_hotel_restaurant_tables_tree |
hotel_restaurant_tables.list | hotel.restaurant.tables | list | New |
view_hotelfolio1_form1_inherited |
hotel.folio1.form1.inherited | hotel.folio | form | Inherits hotel.view_hotel_folio_form |
wizard_hotel_restaurant_form_view |
wizard.hotel.restaurant.form | wizard.hotel.restaurant | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 15
New fields (3)
-
checkBooleanargs: 'With Details' -
date_endDatetimeargs: 'End Date' -
date_startDatetimeargs: 'Start Date'
-
check_date(self)@api.constrains('date_start', 'date_end') -
print_reserv_report(self) -
print_rest_report(self)
New fields (2)
-
hotel_reservation_orders_idsMany2many → hotel.reservation.orderargs: 'hotel.reservation.order', 'hotel_res_rel', 'hotel_folio_id', 'reste_id', 'Reservation Orders' -
hotel_restaurant_orders_idsMany2many → hotel.restaurant.orderargs: 'hotel.restaurant.order', 'hotel_res_resv', 'hfolio_id', 'reserves_id', 'Restaurant Orders'
No public methods.
New fields (3)
-
menu_card_categ_idMany2one → hotel.menucard.typeargs: 'hotel.menucard.type', 'Food Item Category' -
product_idMany2one → product.productdelegate=Trueindex=Trueondelete='cascade'required=True args: 'product.product', 'Hotel Menucard' -
product_manager_idMany2one → res.usersargs: 'res.users', 'Product Manager'
No public methods.
New fields (4)
-
child_idsOne2many → hotel.menucard.typeargs: 'hotel.menucard.type', 'menu_id', 'Child Categories' -
display_nameCharcompute='_compute_display_name'recursive=True -
menu_idMany2one → hotel.menucard.typeargs: 'hotel.menucard.type', 'Food Item Type' -
nameCharrequired=True
No public methods.
New fields (15)
-
amount_subtotalFloatcompute='_compute_amount_all_total'string='Subtotal' -
amount_totalFloatcompute='_compute_amount_all_total'string='Total' -
folio_idMany2one → hotel.folioargs: 'hotel.folio', 'Folio No' -
is_folioBooleanhelp='is customer residing in hotel or not' args: 'Is a Hotel Guest??' -
kitchenIntegerargs: 'Kitchen Id' -
order_dateDatetimedefault=<expr>required=True args: 'Date' -
order_list_idsOne2many → hotel.restaurant.order.listargs: 'hotel.restaurant.order.list', 'reservation_order_id', 'Order List' -
order_numberCharreadonly=True args: 'Order No' -
reservation_idMany2one → hotel.restaurant.reservationargs: 'hotel.restaurant.reservation', 'Reservation No' -
rests_idsMany2many → hotel.restaurant.order.listargs: 'hotel.restaurant.order.list', 'reserv_id', 'kitchen_id', 'res_kit_ids', 'Rest' -
room_idMany2one → product.productargs: 'product.product', 'Room No' -
stateSelectiondefault='draft'readonly=Truerequired=True args: [('draft', 'Draft'), ('order', 'Order Created'), ('done', 'Done')] -
table_nos_idsMany2many → hotel.restaurant.tablesargs: 'hotel.restaurant.tables', 'temp_table4', 'table_no', 'name', 'Table Number' -
taxFloatargs: 'Tax (%) ' -
waiter_idMany2one → res.partnerargs: 'res.partner', 'Waiter Name'
-
create(self, vals_list)@api.model_create_multiOverrides orm create method. @param self: The object pointer @param vals: dictionary of fields value. -
done_kot(self)This method is used to change the state to done of the hotel reservation order ---------------------------------------- @param self: object pointer -
reservation_generate_kot(self)This method creates or updates a record for hotel restaurant order list. -------------------------------------------------------------- @param self: The object pointer @return: updated record set for hotel restaurant order list. -
reservation_update_kot(self)This method update record for hotel restaurant order list. ---------------------------------------------------------- @param self: The object pointer @return: update record set for hotel restaurant order list.
New fields (7)
-
kot_dateDatetimeargs: 'Date' -
kot_list_idsOne2many → hotel.restaurant.order.listhelp='Kitchen order list' args: 'hotel.restaurant.order.list', 'kot_order_id', 'Order List' -
order_numberCharreadonly=True -
reservation_numberChar -
room_noCharreadonly=True -
table_nos_idsMany2many → hotel.restaurant.tableshelp='Table reservation detail.' args: 'hotel.restaurant.tables', 'restaurant_kitchen_order_rel', 'table_no', 'name', 'Table Number' -
waiter_nameCharreadonly=True
No public methods.
New fields (15)
-
amount_subtotalFloatcompute='_compute_amount_all_total'string='Subtotal' -
amount_totalFloatcompute='_compute_amount_all_total'string='Total' -
customer_idMany2one → res.partnerrequired=True args: 'res.partner', 'Customer Name' -
folio_idMany2one → hotel.folioargs: 'hotel.folio', 'Folio No' -
is_folioBooleanhelp='is customer residing in hotel or not' args: 'Is a Hotel Guest??' -
kitchenInteger -
o_dateDatetimedefault=<expr>required=True args: 'Order Date' -
order_list_idsOne2many → hotel.restaurant.order.listargs: 'hotel.restaurant.order.list', 'restaurant_order_id', 'Order List' -
order_noCharreadonly=True args: 'Order Number' -
rest_item_idMany2many → hotel.restaurant.order.listargs: 'hotel.restaurant.order.list', 'restaurant_kitchen_rel', 'restau_id', 'kit_id', 'Rest' -
room_idMany2one → product.productargs: 'product.product', 'Room No' -
stateSelectioncopy=Falsedefault='draft'readonly=Truerequired=True args: [('draft', 'Draft'), ('order', 'Order Created'), ('done', 'Done'), ('cancel', 'Cancelled')] -
table_nos_idsMany2many → hotel.restaurant.tablesargs: 'hotel.restaurant.tables', 'restaurant_table_order_rel', 'table_no', 'name', 'Table Number' -
taxFloatargs: 'Tax (%) ' -
waiter_idMany2one → res.partnerargs: 'res.partner', 'Waiter'
-
create(self, vals_list)@api.model_create_multiOverrides orm create method. @param self: The object pointer @param vals: dictionary of fields value. -
done_cancel(self)This method is used to change the state to cancel of the hotel restaurant order ---------------------------------------- @param self: object pointer -
done_order_kot(self)This method is used to change the state to done of the hotel restaurant order ---------------------------------------- @param self: object pointer -
generate_kot(self)This method create new record for hotel restaurant order list. @param self: The object pointer @return: new record set for hotel restaurant order list. -
generate_kot_update(self)This method update record for hotel restaurant order list. ---------------------------------------------------------- @param self: The object pointer @return: update record set for hotel restaurant order list. -
set_to_draft(self)This method is used to change the state to draft of the hotel restaurant order ---------------------------------------- @param self: object pointer
New fields (7)
-
item_qtyIntegerdefault=1required=True args: 'Qty' -
item_rateFloatargs: 'Rate' -
kot_order_idMany2one → hotel.restaurant.kitchen.order.ticketsargs: 'hotel.restaurant.kitchen.order.tickets', 'Kitchen Order Tickets' -
menucard_idMany2one → hotel.menucardrequired=True args: 'hotel.menucard', 'Item Name' -
price_subtotalFloatcompute='_compute_price_subtotal'string='Subtotal' -
reservation_order_idMany2one → hotel.reservation.orderargs: 'hotel.reservation.order', 'Reservation Order' -
restaurant_order_idMany2one → hotel.restaurant.orderargs: 'hotel.restaurant.order', 'Restaurant Order'
No public methods.
New fields (10)
-
customer_idMany2one → res.partnerrequired=True args: 'res.partner', 'Customer Name' -
end_dateDatetimerequired=True args: 'End Time' -
folio_idMany2one → hotel.folioargs: 'hotel.folio', 'Folio No' -
is_folioBooleanargs: 'Is a Hotel Guest??' -
partner_address_idMany2one → res.partnerargs: 'res.partner', 'Address' -
reservation_idCharindex=Truereadonly=True args: 'Reservation No' -
room_idMany2one → product.productargs: 'product.product', 'Room No' -
start_dateDatetimedefault=<expr>required=True args: 'Start Time' -
stateSelectioncopy=Falsedefault='draft'readonly=Truerequired=True args: [('draft', 'Draft'), ('confirm', 'Confirmed'), ('done', 'Done'), ('cancel', 'Cancelled'), ('order', 'Order Created')], 'state' -
table_nos_idsMany2many → hotel.restaurant.tableshelp='Table reservation detail.'string='Table Number' args: 'hotel.restaurant.tables', 'reservation_table', 'reservation_table_id', 'name'
-
action_set_to_draft(self)This method is used to change the state to draft of the hotel restaurant reservation -------------------------------------------- @param self: object pointer -
create(self, vals_list)@api.model_create_multiOverrides orm create method. @param self: The object pointer @param vals: dictionary of fields value. -
create_order(self)This method is for create a new order for hotel restaurant reservation .when table is booked and create order button is clicked then this method is called and order is created. You can see this created order in "Orders" ------------------------------------------------------------ @param self: The object pointer @return: new record set for hotel restaurant reservation. -
table_cancel(self)This method is used to change the state to cancel of the hotel restaurant reservation -------------------------------------------- @param self: object pointer -
table_done(self)This method is used to change the state to done of the hotel restaurant reservation -------------------------------------------- @param self: object pointer -
table_reserved(self)when CONFIRM BUTTON is clicked this method is called for table reservation @param self: The object pointer @return: change a state depending on the condition
New fields (2)
-
capacityInteger -
nameCharrequired=True args: 'Table Number'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_res_data(self, date_start, date_end)
New fields (0)
No new fields.
Public methods (2)-
get_data(self, date_start, date_end) -
get_reserv(self, date_start, date_end)
New fields (0)
No new fields.
Public methods (2)-
get_data(self, date_start, date_end) -
get_rest(self, date_start, date_end)
New fields (2)
-
date_endDatetimerequired=True args: 'End Date' -
date_startDatetimerequired=True args: 'Start Date'
-
check_date(self)@api.constrains('date_start', 'date_end') -
print_report(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…