TIP: You can type at any time to perform a new search.
Stay API
stay_api · OCA/vertical-abbey
- Repository
- OCA/vertical-abbey · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Lodging
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/vertical-abbey
- Last tracking update
- 2026-08-07 08:43:07
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- fastapi, xlsxwriter, a2wsgi>=1.10.6, fastapi>=0.110.0, parse-accept-language, python-multipart, ujson
- System dependencies
- None
- Required by
- None
- Description
This module provides a REST API to create new stays. Useful if you have a web form on your website and you want it to create a new draft stay upon validation.
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings | form | Inherits stay.res_config_settings_view_form | |
stay_form |
stay.stay | form | Inherits stay.stay_form | |
stay_search |
stay.stay | search | Inherits stay.stay_search | |
stay_type_form |
stay.type | form | New | |
stay_type_search |
stay.type | search | New | |
stay_type_tree |
stay.type | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
stay_controller_company_idMany2one → res.companyconfig_parameter='stay.controller.company_id'string='Default Company for Stays created from Web Form' args: 'res.company'
No public methods.
New fields (17)
-
controller_cityCharstring='City' -
controller_country_idMany2one → res.countrystring='Country' args: 'res.country' -
controller_emailCharstring='E-mail'tracking=True -
controller_firstnameCharstring='Firstname'tracking=True -
controller_lastnameCharstring='Lastname'tracking=True -
controller_messageCharstring='Guest Message' -
controller_mobileCharstring='Mobile'tracking=True -
controller_modeSelectionreadonly=Truestring='Web Form Mode' args: [('created', 'Created'), ('updated', 'Updated')] -
controller_notesHtmlstring='Additional Questions' -
controller_phoneCharstring='Phone'tracking=True -
controller_streetCharstring='Address Line 1' -
controller_street2Charstring='Address Line 2' -
controller_title_idMany2one → res.partner.titledomain=[('api_code', '!=', False)]string='Title'tracking=True args: 'res.partner.title' -
controller_update_urlCharcompute='_compute_controller_update_url'string='Update URL' -
controller_uuidCharcopy=Falsereadonly=Truestring='UUID' -
controller_zipCharstring='ZIP' -
type_idMany2one → stay.typeondelete='restrict' args: 'stay.type'
-
create(self, vals_list)@api.model_create_multi
New fields (4)
-
activeBooleandefault=True -
nameCharrequired=True -
sequenceInteger -
update_urlCharstring='Update URL'
No public methods.
Loading…
Loading…