Repository
odoo/odoo · module folder
Module version
1.0
Category
Website/Website
Folder size
1.16 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 05:19:52
Authors
Maintainers
None
Committers
Olivier Dony, Christophe Simonis, Martin Trigaux, Odoo Translation Bot, Nicolas Martinelli, Nicolas Lempereur, Aaron Bohy, Jeremy Kersten, Wolfgang Taferner, Yannick Tivisse, qsm-odoo, Romain Derie, Julien Castiaux, Xavier-Do, jvm-odoo, jerome hanke (jhk), Paul Morelle, Fanny He, Nasreddin (bon), Jason Van Malder, fw-bot, Achraf (abz), Adrien Widart, Ivan Yelizariev, nie, Nicolas Galler, fja-odoo, Younn Olivier, Kevin Baptiste, Benjamin Vray, Benoit Socias, Guillaume (gdi), Kaushalya Mandaliya, Laurent Stukkens (LTU), Julien (jula), xO-Tx, flvr-odoo, Simon Goffaux (sigo)
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
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.
    

Code Analysis

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…