here I want to create an API endpoint that triggers and my reports will show and also download option be there in my central dashboard in v14
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
1470
Vistas
what should i call in the controller i generate report by odoo report templete
in the controller what should i call report template id ?
To create an API endpoint in Odoo that triggers the generation of reports and provides options for viewing and downloading them in your central dashboard, you can follow these general steps:
- Define the API Endpoint: Create a controller in your Odoo module that defines the API endpoint. This controller will handle the incoming requests and trigger the report generation process.
- Generate Reports: Implement the logic to generate the reports based on the incoming requests. This logic will depend on the specific reports you want to generate and the data sources involved.
- Return Report Data: Return the generated report data in a format that can be displayed in your central dashboard. This could be in the form of HTML for displaying the report directly in the dashboard, or a URL or file path for downloading the report.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse