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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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 :
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 11 22
|
3276 | ||
Live tracking in odoo.
Đã xử lý
|
|
2
thg 8 22
|
7608 | |
|
1
thg 1 25
|
9307 | ||
|
1
thg 9 21
|
6621 | ||
|
1
thg 3 21
|
5385 |