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?
相关问题
- Disable drag and sort features on kanban columns v
- “relation already exists” after adding a Many2many
- How to remove implied ids from group in odoo?
- Analysing with SonarQube causes 0 files indexed an
- Why are my tests not running on Odoo 10?
相关文章
- installing Reportlab (error: command 'gcc'
- How add a function in openERP 7?
- Operation prohibited by access rules when creating
- Odoo loading javascript files in version 8?
- Can I inherit from a standard report in OpenERP?
- How to run Odoo tests unittest2?
- How to Pass Input Parameters by URL in BIRT?
- How to add autoincremental field in OpenERP 7?
In report tag put header='False', eg.
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.This way you can put new header and footer.
One way to remove the header is what Atul suggested, declare it in the report tag.
In some situations there is no report tag. For example, a report might only be generated by a wizard. In that case, you can declare it as a parameter when you register the parser. See the
mrp_operations
module's barcode report for an example.You can also specify a specific header using that parameter. It defaults to
'external'
, but it can be'internal'
or'internal landscape'
to use one of the other headers from the company configuration.In report set header = 'False'
Now you can add your own header footer on page
You can customize report header in your report.rml file like this,