Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Website Builder (website)
• Social Network (mail) |
Technical Name |
entity_html_form |
License | GPL-3 |
Description
Creates an HTML form that you can embed inside and outside OdooCreate HTML Forms

Creates an HTML form that you can embed inside and outside Odoo.
Instructions
1. Go to Settings->HTML Embed Forms->Create Forms
2. Select the model and the fields in the form
3. Click "Make Embed Code" button and copy and paste the code into your website
View Form Submissions
Keep a record of all the form submissions
Instructions
1. Go to Settings->HTML Embed Forms->Inserted Form Data

Rearange form fields on the website

Rearange form fields on the website.
Instructions
1. Go to the webpage with the eHTML form
2. Hit edit and drag and drop the fields around the form
NOTE This module and 'HTML Snippet Form Builder' have reborn to thier v9 equivalent 'HTML Form Builder' and 'HTML Form Builder - Website Snippets'
Models / Fields
ehtml.formgen(An individual Form)
Permissions
Administration / Settings (base.group_system): Read, Write, Create and Delete
Fields
Form Name (name): Human meaningful name for the form
Model (model_id): The model which the form is based around
HTML Fields (fields_ids): The list of Odoo fields in the HTML form
Embed Code (output_html): The output HTML designed to be copied and pasted into an external site
Required Fields (required_fields): Human readable list of fields that are required for that model
Default Values (defaults_values): List of fields and a corresponding default value which is set when the record is created
Return URL (return_url): After the form is submitted the user is redirected to this URL
Form Type (form_type): The format of the outputted HTML, Odoo or native
ehtml.fieldentry(A field in the form)
Permissions
Administration / Settings (base.group_system): Read, Write, Create and Delete
Fields
Sequence (sequence): Drag and drop field order
HTML Form (html_id): ID pointing back to the HTML form
Model (model_id): The model ID of the field hidden from user sight
Related Model (model): The model name of the field hidden from user sight
Form Field (field_id): The Odoo field this form field inserts data into
Field Label (field_label): Human readable label for the field on the website
HTML Field Name (html_name): The HTML name of the field handy for autocomplete e.g auto fill email/mobile
HTML Field Type (html_field_type): The type of HTML input to use for this type of field
ehtml.fielddefault (Stores the default values for each form)
Permissions
Administration / Settings (base.group_system): Read, Write, Create and Delete
Fields
HTML Form (html_id): ID pointing back to the HTML form
Model (model_id): Model ID, hidden from user
Model Name (model): Model Name, hidden from user
Form Fields (field_id): The Odoo field your settings a default value for
Default Value (default_value): The value that is set for this Odoo field when the record is inserted
ehtml.history (Stores all inserted records)
Permissions
Administration / Settings (base.group_system): Read
Fields
HTML Form (html_id): ID pointing back to the HTML form
Reference URL (ref_url): The URL this form waas submitted from
Record ID (record_id): The ID of the inserted record
Form Name (form_name): No Idea...
HTML Fields (insert_data): List of data that was inserted with this submission
ehtml.fieldinsert (History of the field data that was inserted)
Permissions
Administration / Settings (base.group_system): Read
Fields
HTML Form (html_id): ID pointing back to the HTML form history
Field (field_id): The field that data was inserted into
Insert Value (insert_value): The value inserted
Security
Administration / Settings (base.group_system)
ehtml.formgen: Read, Write, Create and Delete
ehtml.fieldentry: Read, Write, Create and Delete
ehtml.fielddefault: Read, Write, Create and Delete
ehtml.history: Read
ehtml.fieldinsert: Read
Please log in to comment on this module