Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 14 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.4 MB
Module directory on disk
Code analysis 0 migration notes 6 models 10 views 0 HTTP endpoints

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

Dependencies

Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…