Skip to Content
Menu
This question has been flagged
1 Reply
13951 Views

Hello everyone, I have a question about how to create a website form and submit data to a model created from another module. And also be able to read that data back to the website url created.. Thanks so much for your help

Avatar
Discard
Best Answer

Hi,

For this either you can use the website form builder module which will record the data from the form to the specified model. The module is available in the odoo store for the community edition. You can get the module from this links : 

1.  HTML Form Builder

2. Website Form Builder


The other option is to do via coding, for this you have to create a template for the website form, and once the submit button is clicked the control will be passed to the route/controller specified in the form action. From the controller you can record the data to the corresponding model.

For more info regarding how to create the template and controllers for this see this documentation:  Odoo get web form or template value in controller


Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 22
1747
2
Aug 22
5993
1
Nov 21
7415
1
Sep 21
5018
1
Mar 21
3628