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.
I have looked everywhere on the forums and google the location suggested to alter "report.external_layout" is not in the reports menu. Is there any thing im over looking? is it anywhere else?
It is in the file layouts.xml that is under /addons/report/views/
The header, footer etc are defined here as defaults for all QWeb reports.
The header is <template id="external_layout_header"> and the footer is <template id="external_layout_footer">
which is both loaded at the top of layouts.xml here:
<!-- Multicompany -->
<t t-if="o and 'company_id' in o">
<t t-set="company" t-value="o.company_id"></t>
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"></t>
<t t-call="report.external_layout_header" />
<t t-raw="0" />
<t t-call="report.external_layout_footer" />
If id="report.external_layout", then report is module name i.e. technical name/folder name
So, the template definition is available at YOUR ODOO PATH
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
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: 1/12/15, 6:30 AM|
|Seen: 3069 times|
|Last updated: 3/16/15, 8:10 AM|