Print Policy Mixin
by OpenSynergy Indonesia https://simetri-sinergi.id , PT. Simetri Sinergi Indonesia https://simetri-sinergi.id
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 481 |
| Technical Name |
ssi_print_mixin |
| License | AGPL-3 |
| Website | https://simetri-sinergi.id |
Print Policy Mixin
ssi_print_mixin provides a standardised print-document framework that adds a configurable Print button to any Odoo model via an abstract mixin.
The module ships the following components:
- mixin.print_document u2014 abstract mixin that automatically injects a Print button into the form-view header and list-view header when _automatically_insert_print_button = True on the subclass.
- print_document_type u2014 a named document type (scoped to a specific model) that groups the reports available for printing; its code is generated from a sequence.
- ir.actions.report extension u2014 adds print_document_type_ids to link reports to types, a print_python_code condition evaluated at print time, and a print_multi flag for batch printing.
Installation
To install this module, you need to:
- Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin
- Add the path to this repository in your configuration (addons-path)
- Update the module list (Must be on developer mode)
- Go to menu Apps -> Apps -> Main Apps
- Search For Print Policy Mixin
- Install the module
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
Credits
Contributors
- Andhitia Rama <andhitia.r@gmail.com>
- Michael Viriyananda <viriyananda.michael@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Please log in to comment on this module