how to add a user defined header in a rml report in openerp?
odoo, report, rml
Solution
In report tag put header='False', eg.
<report header='False' auto="False" id="report_product_history"
model="product.product" name="stock.product.history"
string="Stock Level Forecast"/>
it will not print the default header define in the company. then in rml file find `<pageTemplate>` tag, and replace it with your rml code. eg.
<template pageSize="(595.0,842.0)" title="Test"
author="Atul Makwana" allowSplitting="20">
<pageTemplate id="first">
***Your rml header & footer***
</pageTemplate>
</template>
This way you can put new header and footer.
Problem
How can I add a new header/footer for a report(for example picking list report in delivery order) other than the header/ footer defined in the company?