Cost Advance Report
cost.advance
qweb-pdf
baba_multi_approval.report_cost_advance
baba_multi_approval.report_cost_advance
here is my report action
?xml version="1.0" encoding="utf-8"?>
Evaluation A4
A4
0
0
Portrait
10
13
5
5
43
90
here is my report
Element '' cannot be located in parent view
View name: report_cost_advance
Error context:
view: ir.ui.view(1166,)
xmlid: report_cost_advance
view.model: hr.employee
view.parent: ir.ui.view(458,)
file: f:\odoo-14.0\djit\baba_multi_approval\reports\report_cost_advance.xml
here is my error
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
Include the binding_view_types to specify the report action, enabling the addition of a report option to the action menu within the form.
<record id="action_student_id_card" model="ir.actions.report">
<field name="name">Student ID Card</field>
<field name="model">education.
<field name="report_type">qweb-pdf</
<field name="report_name">education.
<field name="report_file">education.
<field name="print_report_name">'
<field name="binding_view_types">
<field name="binding_model_id" ref="model_education_student"/
</record>
Please go through our blog to know about How to Create a PDF Report in Odoo 14
https://www.cybrosys.com/blog/how-to-create-pdf-report-odoo-14" target="_blank" data-saferedirecturl="https://www.cybrosys.com/blog/
Hope it helps
Hi,
If you are looking to create a new report in the system, either you can do from the user interface using the studio if you are an enterprise user. If you are using the community, you wont have the studio, you can develop the needed report from the custom module.
To create a report from the scratch, you can refer to this video explaining the same: How To Create PDF Reports In Odoo
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up