Hotel Housekeeping Planning
hotel_housekeeping_planning · OCA/vertical-hotel
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 77 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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.04 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
0 HTTP endpoints
Migration considerations
HotelRoom— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hotel_housekeeping_planning_report |
hotel_housekeeping_planning_report | ir.ui.view | qweb | New |
view_hotel_reservation_form |
view_hotel_reservation_form | hotel.reservation | form | Inherits hotel_reservation.view_hotel_reservation_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
housekeeping_noteCharrequired=Falsestring='Housekeeping Note'
No public methods.
New fields (0)
No new fields.
Public methods (4)-
action_housekeeping_planning_report(self)@api.multi -
get_housekeeping_weekly_report_data(self)@api.multireturns a dictionary with rooms in key and values the daily room occupation: { # monday to sunday "days": ["2020-06-26", "2020-06-30", ... "2020-07-05"], "rooms": [ { "room": "room x (recordset)", "occupation": ["free", "arrival", ... "busy"], }, ... ], } -
get_occupation(self, day)@api.multiday: date object -
get_occupation_acronym(self, occupation)@api.model