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
OCA/donation:
OCA/rest-framework:
OCA/vertical-abbey:
OCA/web:
OCA/web-api:
odoo/odoo:
- web
- bus
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 IDNameModelTypeStatus
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_id Many2one → res.company
    config_parameter='stay.controller.company_id' string='Default Company for Stays created from Web Form' args: 'res.company'
Public methods (0)

No public methods.

New fields (17)
  • controller_city Char
    string='City'
  • controller_country_id Many2one → res.country
    string='Country' args: 'res.country'
  • controller_email Char
    string='E-mail' tracking=True
  • controller_firstname Char
    string='Firstname' tracking=True
  • controller_lastname Char
    string='Lastname' tracking=True
  • controller_message Char
    string='Guest Message'
  • controller_mobile Char
    string='Mobile' tracking=True
  • controller_mode Selection
    readonly=True string='Web Form Mode' args: [('created', 'Created'), ('updated', 'Updated')]
  • controller_notes Html
    string='Additional Questions'
  • controller_phone Char
    string='Phone' tracking=True
  • controller_street Char
    string='Address Line 1'
  • controller_street2 Char
    string='Address Line 2'
  • controller_title_id Many2one → res.partner.title
    domain=[('api_code', '!=', False)] string='Title' tracking=True args: 'res.partner.title'
  • controller_update_url Char
    compute='_compute_controller_update_url' string='Update URL'
  • controller_uuid Char
    copy=False readonly=True string='UUID'
  • controller_zip Char
    string='ZIP'
  • type_id Many2one → stay.type
    ondelete='restrict' args: 'stay.type'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (4)
  • active Boolean
    default=True
  • name Char
    required=True
  • sequence Integer
  • update_url Char
    string='Update URL'
Public methods (0)

No public methods.

Loading…

Loading…