How many types of controlller available in Odoo?
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,
There are mainly two type of controllers used n Odoo,
Http controller - handles http requests.
Json controller - handles json requests.
Refer to our blog on How to Call JSON RPC to Web Controller in Odoo on
https://www.cybrosys.com/blog/call-json-rpc-to-web-controller-in-odoo
Even
if we are printing reports, the controller used is http controller. You
can read more about printing reports from controllers in this blog:
https://www.cybrosys.com/blog/how-to-generate-xlsx-report-using-controller-in-odoo-16
You can read more about controllers in this blog:
https://www.cybrosys.com/blog/how-to-create-configure-web-controllers-in-odoo-15
Hope it helps
Hi There,
Reply : In Odoo, there are mainly two types of controllers available:
1. HTTP Controllers: These controllers are used to handle HTTP requests and responses. HTTP controllers can be used to create custom web pages, handle form submissions, and provide RESTful web services. HTTP controllers are defined as Python classes that inherit from the "odoo.http.Controller" class.
2. Report Controllers: These controllers are used to generate reports in various formats, such as PDF, Excel, or CSV. Report controllers are defined as Python classes that inherit from the "odoo.report.report_controller" class.
Regards,
Team Ksolves!
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 | |
---|---|---|---|---|
|
2
thg 8 25
|
2400 | ||
Controller not working
Đã xử lý
|
|
2
thg 6 25
|
717 | |
|
3
thg 6 24
|
3550 | ||
|
1
thg 3 23
|
3951 | ||
|
0
thg 4 17
|
3073 |