OdooWiki OCA HUB

CMS Form example

cms_form_example folder_open OCA/website-cms open_in_new
Uncategorised License: AGPL-3

Basic content type form example

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds example website forms for creating, editing and searching contacts (partners), including a simple form, a form split into sections, a tabbed form and a public partner listing with search.

This module is a demonstration of the CMS Form framework: it shows how website forms for contacts can be built and displayed. It does not add new business rules, but it does add real web pages and form behaviour.

What users can do: - Open a website page to add a new contact or edit an existing one, with fields for name, country and tags (categories). Name is mandatory. - Use a version of the same form where fields are grouped into sections titled "Main" and "Secondary". - Use a tabbed version of that form, where the sections appear as tabs. - Browse a public listing of contacts and search it by name and country. - Use an Ajax version of the listing, where the search updates without reloading the page.

Where it appears: the forms are reachable at website URLs such as /partner/add, /partner/fieldset/add, /partner/tabbed/add and their edit variants, and the listings at /partners and /partnersAjax. The add and edit forms require a logged-in user; the listings are public.

Automatic behaviour: the custom field on the contact form is pre-filled with the text "oh yeah!" when no value is supplied. A guided tour script is loaded on the website frontend to help test creating a partner.

Models touched: res.partner is the model used by all these forms, through the form models cms.form.res.partner, cms.form.search.res.partner and their variants.

Depends on

website_partnercms_form
Models and fields (5)
  • cms.form.res.partner · new modelcustom
  • cms.form.res.partner.fset · new model
  • cms.form.search.res.partner · new model
  • cms.form.res.partner.fset.tabbed · new model
  • cms.form.search.res.partner.ajax · new model

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

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

Confirmation status: 1 confirmed, 8 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.