Hello everyone, I'm feeling a bit confused about how to retrieve data from my backend model and display it on my website. For instance, I'm using a drag-and-drop component provided by the website's model. How can I display data from my custom model, like images, in a carousel on the website? Additionally, I'd like to know how to submit a website form and insert the submitted data into my custom model. Any guidance would be greatly appreciated!
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,
You can use a controller in odoo to achieve this.Controllers are the class which lets you handle website requests. So create a controller and set the form action as the controller route with controller type as http and with post method.
You can refer to this blog for more information: https://www.cybrosys.com/blog/web-controllers-in-odoo
Hope it helps
thanks I'll try it
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 7 22
|
9415 | ||
|
0
thg 10 21
|
2526 | ||
|
0
thg 3 21
|
2625 | ||
|
1
thg 3 21
|
5500 | ||
|
1
thg 6 19
|
3030 |