Printer ZPL II
This module extends the Report to printer (base_report_to_printer) module to add a ZPL II label printing feature.
This module is meant to be used as a base for module development, and does not provide a GUI on its own. See below for more details.
Table of contents
Installation
Nothing special, just install the module.
Configuration
To configure this module, you need to:
Go to Settings > Printing > Labels > ZPL II
Create new labels
Import ZPL2 code
Use the Test Mode tab during the creation
It’s also possible to add a label printing wizard on any model by creating a new ir.actions.act_window record. For example, to add the printing wizard on the product.product model
<act_window id="action_wizard_purchase" name="Print Label" src_model="product.product" res_model="wizard.print.record.label" view_mode="form" target="new" key2="client_action_multi"/>
Usage
To print a label, you need to call use the label printing method from anywhere (other modules, server actions, etc.).
Example : Print the label of a product
self.env['printing.label.zpl2'].browse(label_id).print_label(
self.env['printing.printer'].browse(printer_id),
self.env['product.product'].browse(product_id))
You can also use the generic label printing wizard, if added on some models.
Changelog
13.0.1.0.0 (2019-09-30)
[RELEASE] Port from V12.
Selection lists do not support integers any longer
Binary field now returns False when empty instead of none, change tests to reflect this
work around an appels vs oranges warning
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Sylvain Garancher <sylvain.garancher@syleam.fr>
Florent de Labarre
Jos De Graeve <Jos.DeGraeve@apertoso.be>
Rod Schouteden <rod.schouteden@dynapps.be>
Miquel Raïch <miquel.raich@forgeflow.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/report-print-send project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo13-addon-printer-zpl2 13.0.2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo13_addon_printer_zpl2-13.0.2.1.0-py3-none-any.whl | Python 3 | none | any | Details for odoo13_addon_printer_zpl2-13.0.2.1.0-py3-none-any.whl |
Release files / odoo13_addon_printer_zpl2-13.0.2.1.0-py3-none-any.whl
| Download URL | odoo13_addon_printer_zpl2-13.0.2.1.0-py3-none-any.whl |
|---|---|
| Size | 151.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6765ff647ae746cba66e5cfeb4718f72a5ae521a49ef3d595a81f79b1be01152
|
|
BLAKE2b-256 checksum How to use checksums |
6ba9a8ae1b874513f3ccfffdae5a240f87cebc3b40910268550a35f9a9b4bc7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for odoo13-addon-printer-zpl2 13.0.2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.