PMS - Website
pms_website · OCA/pms
Health
67/100
fair
-
Security22/251 minor finding
-
Activity25/25Last human commit 5 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.8 MB
Module directory on disk
Code analysis
0 migration notes
3 models
6 views
2 HTTP endpoints
Description
This module publishes PMS properties on the website.
It adds website publishing on properties, website categories, property page templates, and amenity flags for the public site.
Dependencies
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 |
|---|---|---|---|---|
properties |
Properties | ir.ui.view | qweb | New |
property |
Property | ir.ui.view | qweb | New |
view_pms_amenity_form_inherit_pms_website |
pms.amenity.form.inherit | pms.amenity | form | Inherits pms_base.view_pms_amenity_form |
view_pms_property_form_inherit_pms_website |
pms.property.view.form.inherit | pms.property | form | Inherits pms_base.view_pms_property_form |
view_pms_website_category_form |
pms.website.category.form | pms.website.category | form | New |
view_pms_website_category_form_tree |
pms.website.category.tree | pms.website.category | list | New |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/property/<model("pms.property"):pms_property> |
Website.product |
public | http | ALL | sudo website |
/properties, /properties/page/<int:page> |
Website.properties |
public | http | ALL | sudo website |
Models touched 3
New fields (1)
-
is_main_amenityBooleandefault=Falsehelp='Main Amenity'string='Main Amenity'
No public methods.
New fields (3)
-
property_category_idsMany2many → pms.website.categorycomodel_name='pms.website.category'relation='property_category_rel'required=Falsestring='Categories' -
website_description1Htmlsanitize_attributes=Falsesanitize_form=Falsetranslate=html_translate args: 'Property Description' -
website_description2Htmlsanitize_attributes=Falsesanitize_form=Falsetranslate=html_translate args: 'Property Description 2'
-
google_map_link(self)
New fields (6)
-
child_idsOne2many → pms.website.categorystring='Children Property category' args: 'pms.website.category', 'parent_id' -
nameCharhelp='Category Name'required=Truestring='Category Name' -
parent_idMany2one → pms.website.categorycomodel_name='pms.website.category'index=Trueondelete='cascade'string='Parent Category' -
parent_pathCharindex=True -
parents_and_selfMany2many → pms.website.categorycompute='_compute_parents_and_self_new' args: 'pms.website.category' -
property_idsMany2many → pms.propertyrelation='property_category_rel' args: 'pms.property'
-
check_parent_id(self)@api.constrains('parent_id')
Loading…