Repository
OCA/vertical-hotel · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules/Hotel Housekeeping
Folder size
0.4 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/vertical-hotel
Last tracking update
2026-08-19 11:39:08
Authors
Odoo Community Association (OCA), Odoo S.A., Serpent Consulting Services Pvt. Ltd.
Maintainers
Odoo Community Association (OCA), Odoo S.A., Serpent Consulting Services Pvt. Ltd.
Committers
OCA-git-bot, oca-ci, Vadan-serpentcs
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
None
Description
Module for Housekeeping is the department that deals essentially with
cleanliness and all ancillary service attached to that. Housekeepers are
maintaining and servicing the guest rooms and replenishing stock as and
when needed.

You can manage:

**Housekeeping Activities**

**Complete Housekeeping Process**

**Historised Housekeeping with Inventory and Service Data**

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
hotel_housekeeping_wizard_form_view hotel.housekeeping.wizard.form hotel.housekeeping.wizard form New
housekeeping_report housekeeping_report ir.ui.view qweb New
view_h_activity_form hotel.activity.form hotel.activity form New
view_h_activity_search hotel.activity.search hotel.activity search New
view_h_activity_tree hotel.activity.list hotel.activity list New
view_hotel_housekeeping_activity_type_form hotel_housekeeping_activity_type_form hotel.housekeeping.activity.type form New
view_hotel_housekeeping_activity_type_tree hotel_housekeeping_activity_type_list hotel.housekeeping.activity.type list New
view_hotel_housekeeping_form hotel.housekeeping.form hotel.housekeeping form New
view_hotel_housekeeping_search hotel.housekeeping.search hotel.housekeeping search New
view_hotel_housekeeping_tree hotel.housekeeping.list hotel.housekeeping list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (2)
  • categ_id Many2one → hotel.housekeeping.activity.type
    args: 'hotel.housekeeping.activity.type', 'Category'
  • name Char
Public methods (0)

No public methods.

New fields (8)
  • activity_line_ids One2many → hotel.housekeeping.activities
    help='Detail of housekeeping activities' args: 'hotel.housekeeping.activities', 'housekeeping_id', 'Activities'
  • clean_type Selection
    required=True args: [('daily', 'Daily'), ('checkin', 'Check-In'), ('checkout', 'Check-Out')]
  • current_date Date
    default=fields.Date.today index=True required=True args: "Today's Date"
  • inspect_date_time Datetime
    required=True
  • inspector_id Many2one → res.users
    required=True args: 'res.users', 'Inspector'
  • quality Selection
    help='Inspector inspect the room and markas Excellent, Average, Bad, Good or Ok. ' args: [('excellent', 'Excellent'), ('good', 'Good'), ('average', 'Average'), ('bad', 'Bad'), ('ok', 'Ok')]
  • room_id Many2one → hotel.room
    index=True required=True args: 'hotel.room', 'Room No'
  • state Selection
    default='inspect' readonly=True required=True args: [('inspect', 'Inspect'), ('dirty', 'Dirty'), ('clean', 'Clean'), ('done', 'Done'), ('cancel', 'Cancelled')]
Public methods (6)
  • action_set_to_dirty(self)
    This method is used to change the state to dirty of the hotel housekeeping --------------------------------------- @param self: object pointer
  • check_end_date_time(self)
    @api.constrains('activity_line_ids', 'inspect_date_time')
  • room_cancel(self)
    This method is used to change the state to cancel of the hotel housekeeping --------------------------------------- @param self: object pointer
  • room_clean(self)
    This method is used to change the state to clean of the hotel housekeeping --------------------------------------- @param self: object pointer
  • room_done(self)
    This method is used to change the state to done of the hotel housekeeping --------------------------------------- @param self: object pointer
  • room_inspect(self)
    This method is used to change the state to inspect of the hotel housekeeping --------------------------------------- @param self: object pointer

New fields (8)
  • activity_id Many2one → hotel.activity
    args: 'hotel.activity', 'Housekeeping Activity'
  • clean_end_time Datetime
    required=True
  • clean_start_time Datetime
    required=True
  • housekeeper_id Many2one → res.users
    required=True args: 'res.users', 'Housekeeper'
  • housekeeping_id Many2one → hotel.housekeeping
    args: 'hotel.housekeeping', 'Reservation'
  • is_clean Boolean
    help='Checked if the housekeepingactivity results as Clean.' args: 'Clean'
  • is_dirty Boolean
    help='Checked if the housekeeping activityresults as Dirty.' args: 'Dirty'
  • today_date Date
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (3)
  • display_name Char
    recursive=True
  • name Char
    required=True
  • parent_id Many2one → hotel.housekeeping.activity.type
    args: 'hotel.housekeeping.activity.type', 'Parent Category'
Public methods (0)

No public methods.

New fields (3)
  • date_end Datetime
    required=True args: 'Activity End Date'
  • date_start Datetime
    required=True args: 'Activity Start Date'
  • room_id Many2one → hotel.room
    required=True args: 'hotel.room', 'Room No'
Public methods (2)
  • check_date(self)
    @api.constrains('date_start', 'date_end')
  • print_report(self)

New fields (0)

No new fields.

Public methods (1)
  • get_room_activity_detail(self, date_start, date_end, room_id)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…