Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
7 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.11 MB
Module directory on disk
Code analysis 1 migration note 4 models 6 views 0 HTTP endpoints

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.

Dependencies

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-openapi-overrides, parse-accept-language, python-multipart, ujson
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 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…