OdooWiki OCA HUB
Uncategorised License: LGPL-3

Basic content type form

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Provides the building blocks to build web forms (create, edit, search and multi-step wizards) on the Odoo website/portal, with validation, status messages and redirects after submission.

This module is a technical toolkit that other modules use to build forms shown on the website or portal. It does not add menus by itself; instead it defines reusable form types and field widgets.

  • cms.form handles create/edit forms: it validates required fields, shows success or error messages, and after saving redirects the user to a URL (the record's url field if present, or a redirect parameter).
  • cms.form.search builds search forms with results, a pager and a "no results" message; fields are never mandatory and text fields are searched with a contains match.
  • cms.form.wizard builds multi-step wizards with progress bar, next/previous navigation and step data stored in the user session.
  • Widgets cover text, numbers, dates, booleans, selections, radio, files, images, and relational fields (many2one, one2many, many2many).

Business rules visible in the code: permission checks before creating or editing records, required-field validation, custom validators per field or type, error messages for missing fields, and success messages "Item created." / "Item updated.". Forms can be submitted by AJAX and can ask for confirmation before submitting.

Depends on

cms_infocms_status_messageportalbase_sparse_field

Required by other modules

Models and fields (25)
  • cms.form · new modelform_title, form_success, form_redirect
  • cms.form.mixin · new modelid, request, form_ajax, form_mode, o_request, form_title, form_action, form_method, main_object, form_template, form_model_name, form_description, form_display_mode, form_ajax_onchange, form_fname_pattern, form_render_values, form_confirm_submit, form_extra_css_klass, form_fields_template, form_buttons_template, form_content_selector, form_wrapper_template, form_fieldsets_display, form_extract_value_mode, form_fields_wrapper_template, form_wrapper_extra_css_klass
  • cms.form.search · new modelform_mode, form_title, form_method, form_no_result_msg, form_search_results, form_results_orderby, form_buttons_template, form_results_per_page, form_show_search_form, form_extract_value_mode, form_search_domain_rules, form_show_results_no_submit, form_search_results_template, form_no_search_results_template
  • cms.form.wizard · new modelform_reset, form_buttons_template, form_show_progress_bar, form_step_store_all_fields
  • cms.form.widget.char · new model
  • cms.form.widget.date · new modelw_template, w_date_format, w_field_value, w_placeholder, w_default_today
  • cms.form.widget.text · new modelw_template, w_maxlength
  • cms.form.widget.float · new model
  • cms.form.widget.image · new modelw_template
  • cms.form.widget.mixin · new modelid, w_form, w_field, w_fname, w_record, w_readonly, w_template, w_css_klass, w_subfields, w_field_value, w_wrapper_template, w_wrapper_css_klass
  • cms.form.widget.radio · new modelw_template
  • cms.form.widget.binary · new modelw_template
  • cms.form.widget.hidden · new modelw_template
  • cms.form.widget.boolean · new modelw_template, w_field_value, w_wrapper_template, w_wrapper_css_klass
  • cms.form.widget.integer · new model
  • cms.form.widget.many2one · new modelw_template, w_field_value
  • cms.form.widget.one2many · new model
  • cms.form.widget.many2many · new model
  • cms.form.widget.rel.mixin · new modelw_comodel_name, w_display_field
  • cms.form.widget.selection · new modelw_template
  • cms.form.widget.x2m.mixin · new modelw_template
  • cms.form.widget.char.mixin · new modelw_template, w_input_type, w_valid_pattern
  • cms.form.widget.binary.mixin · new model
  • cms.form.widget.numeric.mixin · new modelw_template, w_input_max, w_input_min, w_input_type
  • cms.form.widget.many2one.multi · new modelw_template, w_display_field

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/website-cms.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.