https://github.com/0k/report_extended
OpenERP/Odoo addon for showcasing extended classes for QWEB report
https://github.com/0k/report_extended
Last synced: 11 months ago
JSON representation
OpenERP/Odoo addon for showcasing extended classes for QWEB report
- Host: GitHub
- URL: https://github.com/0k/report_extended
- Owner: 0k
- License: bsd-2-clause
- Created: 2015-05-12T14:38:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-12T16:12:08.000Z (about 11 years ago)
- Last Synced: 2024-03-26T14:24:40.118Z (about 2 years ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 5
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=====================
report_extended
=====================
This is an OpenERP/Odoo addon.
It's a prototype to show how to add the 'last-page' magic class to report
elements (in QWEB reports) so that they get displayed only if on the last-page.
Place where we speak of this:
- `stackoverflow question`_.
- `Agile business Group blog post`_ mentioning this.
.. _stackoverflow question: http://stackoverflow.com/questions/28172283
.. _Agile business Group blog post: http://planet.agilebg.com/en/2014/05/how-to-add-html-element-at-the-bottom-of-the-last-page-of-webkit-report/
Usage
=====
Install the module, then in the QWEB ``ir.ui.views`` used by your
report, you can then add anywhere (header, body, footer), code with::
My content only displayed if on last page.
Have fun.