Housekeeping
pms_housekeeping · OCA/pms
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 31 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.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.15 MB
Module directory on disk
Code analysis
6 migration notes
5 models
6 views
0 HTTP endpoints
Migration considerations
generate_tasks— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourcehr_housekeeping_employee_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_pms_housekeeping_task_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_pms_housekeeping_task_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_pms_housekeeping_task_type_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_pms_housekeeping_task_type_tree— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · 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
- Odoo dependencies
- Python dependencies
- requests
- 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 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_housekeeping_employee_form |
hr.employee | form | Inherits hr.view_employee_form | |
pms_housekeeping_room |
pms.room | form | Inherits pms.pms_room_view_form | |
view_pms_housekeeping_task_form |
pms.housekeeping.task.form | pms.housekeeping.task | form | New |
view_pms_housekeeping_task_tree |
pms.housekeeping.task.tree | pms.housekeeping.task | tree | New |
view_pms_housekeeping_task_type_form |
pms.housekeeping.task.type.form | pms.housekeeping.task.type | form | New |
view_pms_housekeeping_task_type_tree |
pms.housekeeping.task.type.tree | pms.housekeeping.task.type | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (3)
-
allowed_pre_assigned_room_idsMany2many → pms.roomcomodel_name='pms.room'compute='_compute_allowed_pre_assigned_room_ids'help='Rooms allowed to be pre assigned to this employee'string='Allowed Pre Assigned Rooms' -
job_nameCharcompute='_compute_job_name'string='Job Name' -
pre_assigned_room_idsMany2many → pms.roomcomodel_name='pms.room'help='Rooms pre assigned to this employee'string='Pre Assigned Rooms'
No public methods.
New fields (2)
-
descriptionTextstring='Description' -
nameCharrequired=Truestring='Name'
No public methods.
New fields (18)
-
allowed_housekeeper_idsMany2many → hr.employeecomodel_name='hr.employee'compute='_compute_allowed_housekeeper_ids'string='Allowed Housekeepers' -
cancel_allowedBooleancompute='_compute_cancel_allowed'string='Is Cancel Allowed' -
cancellation_type_idMany2one → pms.housekeeping.cancellation.typecomodel_name='pms.housekeeping.cancellation.type'ondelete='restrict'string='Cancellation Type' -
child_idsOne2many → pms.housekeeping.taskcomodel_name='pms.housekeeping.task'help='Indicates that this task has child tasks'inverse_name='parent_id'string='Child Tasks' -
cleaning_commentsTextstring='Cleaning Comments' -
done_allowedBooleancompute='_compute_done_allowed'string='Is Done Allowed' -
housekeeper_idsMany2many → hr.employeecolumn1='task_id'column2='employee_id'comodel_name='hr.employee'compute='_compute_housekeeper_ids'domain="[('job_id.name', '=', 'Housekeeper')]"readonly=Falserelation='pms_housekeeping_task_hr_employee_rel'store=Truestring='Housekeepers' -
in_progress_allowedBooleancompute='_compute_in_progress_allowed'string='Is In Progress Allowed' -
nameCharrequired=Truestring='Name' -
parent_idMany2one → pms.housekeeping.taskcomodel_name='pms.housekeeping.task'domain="[('id', '!=', id)]"help='Indicates that this task is a child of another task'string='Parent Task' -
parent_stateCharcompute='_compute_parent_state'string='Parent State' -
pending_allowedBooleancompute='_compute_pending_allowed'string='Is pending allowed' -
priorityIntegercomputed='_compute_priority'default=0readonly=Falsestore=Truestring='Priority' -
room_idMany2one → pms.roomcomodel_name='pms.room'ondelete='restrict'required=Truestring='Room' -
stateSelectiondefault='pending'required=Trueselection=[('pending', 'Pending'), ('to_do', 'To Do'), ('in_progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancel')]string='State' -
task_dateDaterequired=Truestring='Date' -
task_type_idMany2one → pms.housekeeping.task.typecomodel_name='pms.housekeeping.task.type'ondelete='restrict'required=Truestring='Task Type' -
to_do_allowedBooleancompute='_compute_to_do_allowed'string='Is To Do Allowed'
-
action_cancel(self) -
action_done(self) -
action_in_progress(self) -
action_pending(self) -
action_to_do(self) -
create(self, vals)@api.model -
create_housekeeping_tasks(self, room, task_type) -
generate_task_properties(self) -
generate_tasks(self, pms_property_id)@api.model
New fields (15)
-
child_idsOne2many → pms.housekeeping.task.typecomodel_name='pms.housekeeping.task.type'inverse_name='parent_id'string='Child Task Types' -
days_after_clean_emptyIntegerstring='Days After Clean Empty' -
days_after_clean_overnightIntegerstring='Days After Clean Overnight' -
descriptionTextstring='Description' -
housekeeper_idsMany2many → hr.employeecolumn1='task_type_id'column2='employee_id'comodel_name='hr.employee'relation='pms_housekeeping_task_type_hr_employee_rel'string='Housekeepers' -
is_automatedBooleanstring='Is Automated' -
is_checkinBooleanstring='Checkin' -
is_checkoutBooleanstring='Checkout' -
is_emptyBooleanstring='Empty' -
is_inspectionBooleanstring='Inspection' -
is_overnightBooleanstring='Overnight' -
nameCharrequired=Truestring='Name' -
parent_idMany2one → pms.housekeeping.task.typecomodel_name='pms.housekeeping.task.type'domain="[('id', '!=', id)]"help='Indicates that this task type is a child of another task type'string='Parent Task Type' -
pms_property_idsMany2many → pms.propertycolumn1='task_type_id'column2='property_id'comodel_name='pms.property'relation='pms_housekeeping_task_type_pms_property_rel'string='Properties' -
priorityIntegerdefault=0string='Priority'
No public methods.
New fields (1)
-
housekeeping_stateSelectiondefault='dirty'required=Trueselection=[('dirty', 'Dirty'), ('to_inspect', 'To Inspect'), ('clean', 'Clean')]string='Housekeeping State'
No public methods.