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.
<!-- Report Template--><template id="test_template">
<t t-foreach="docs" t-as="doc">
<p>Report printed from wizard</p>
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?
Try this internal layout instead of external layout, because for wizard report it only supports internal layout.
Here is the syntax.
Just replace external with internal, it will work perfectly but it will give you the different header footer than the normal, which is normally used for summary report.
For the reference you can see all accounting reports those are generated through wizard, those all are following the internal layout only. external layout is not used anywhere so probably external layout cannot be used for the report those are generated from wizard.
May be someone has idea how to apply external layout on it, it would help me as well.
Hope this will help.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/13/16, 3:45 AM|
|Seen: 211 times|
|Last updated: 7/14/16, 11:54 PM|