콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
15519 화면

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

아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
1
11월 22
3275
2
8월 22
7608
1
1월 25
9307
1
9월 21
6621
1
3월 21
5383