Skip to content
Health
72/100
fair
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 37 months ago
  • Required by25/25
    7 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 9.0

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

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

Description

    Customize and create your own web forms.
    This module adds a new building block in the website builder in order to build new forms from scratch in any website page.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
crm_iap_lead_website, oca_all, website_crm, website_form_project, website_hr_recruitment, website_rma, website_sale

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 12

XML IDNameModelTypeStatus
assets_editor Website Form Editor Assets Editor ir.ui.view qweb Inherits website.assets_editor
assets_snippet_s_website_form_css_000 assets_snippet_s_website_form_css_000 ir.ui.view qweb Inherits website.assets_frontend
assets_snippet_s_website_form_css_001 assets_snippet_s_website_form_css_001 ir.ui.view qweb Inherits website.assets_frontend
assets_snippet_s_website_form_js_000 assets_snippet_s_website_form_js_000 ir.ui.view qweb Inherits website.assets_frontend
assets_tests Website Form Assets Tests ir.ui.view qweb Inherits web.assets_tests
contactus_form Contact Form ir.ui.view qweb Inherits website.contactus
ir_model_fields_view website_form_editor.ir.model.fields.view.form ir.model.fields form Inherits base.view_model_fields_form
ir_model_view website_form_editor.ir.model.view.form ir.model form Inherits base.view_model_form
remove_external_snippets remove_external_snippets ir.ui.view qweb Inherits website.external_snippets
s_website_form Form ir.ui.view qweb New
s_website_form_options s_website_form_options ir.ui.view qweb Inherits website.snippet_options
snippets Snippet Form Builder ir.ui.view qweb Inherits website.snippets

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/website_form/<string:model_name> WebsiteForm.website_form public http POST csrf off website
/website_form/ WebsiteForm.website_form_empty public http POST

Models touched 4

New fields (4)
  • website_form_access Boolean
    help='Enable the form builder feature for this model.' args: 'Allowed to use in forms'
  • website_form_default_field_id Many2one → ir.model.fields
    domain="[('model', '=', model), ('ttype', '=', 'text')]" help='Specify the field which will contain meta and custom form fields datas.' args: 'ir.model.fields', 'Field for custom form data'
  • website_form_key Char
    help='Used in FormBuilder Registry'
  • website_form_label Char
    help="Form action label. Ex: crm.lead could be 'Send an e-mail' and project.issue could be 'Create an Issue'." args: 'Label for form action'
Public methods (1)
  • get_authorized_fields(self, model_name)
    @api.model
    Return the fields of the given model name as a mapping like method `fields_get`.

New fields (1)
  • website_form_blacklisted Boolean
    default=True help='Blacklist this field for web forms' index=True args: 'Blacklisted in web forms'
Public methods (2)
  • formbuilder_whitelist(self, model, fields)
    @api.model
    :param str model: name of the model on which to whitelist fields :param list(str) fields: list of fields to whitelist on the model :return: nothing of import
  • init(self)

New fields (0)

No new fields.

Public methods (1)
  • read_combined(self, fields=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…