Hello All,
Again asked because not able to edit the question, added example
I've created report which is printed from wizard,
It works well until i add,
report.external_layout in report template,
After adding this external layout header footer appears but report content is disappeared
What could be the issue?
If i remove report.external_layout template than report works well but the report will not having header & footer then.
Edit, Eg.
<!-- Report Template--><template id="test_template">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="report.external_layout">
<div class="page">
<div class="row">
<p>Report printed from wizard</p>
</div>
</div>
</t>
</t>
</t>
</template>
These are the problems
1. If i remove external_layout template than it print the report content but there is no header,
2. if I add external_layout it just print header and footer for all records not content.
What can be issue?
Do i need add something else with my parser class?
Please help
Thank you.
Prince.