Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/13/16, 3:45 AM|
|Seen: 504 times|
|Last updated: 7/14/16, 11:54 PM|