TIP: You can type at any time to perform a new search.
Housekeeping
pms_housekeeping · OCA/pms
- Repository
- OCA/pms · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- pms
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- Yes
- Auto-installable
- No
- Website
- https://github.com/OCA/pms
- Last tracking update
- 2026-08-07 07:47:39
- Authors
- Odoo Community Association (OCA), Commit [Sun]
- Maintainers
- Odoo Community Association (OCA), Commit [Sun]
- Committers
- GitHub, Weblate, OCA-git-bot, oca-travis, Darío Lodeiros, oca-ci, Sara Lago
- Odoo dependencies
- Python dependencies
- requests
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
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.