============== Printer ZPL II ============== .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:0205041d24095e143639c6bde7b129dfb5c1afd149df42cceeb9f0908db36673 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github :target: https://github.com/OCA/report-print-send/tree/16.0/printer_zpl2 :alt: OCA/report-print-send .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/report-print-send-16-0/report-print-send-16-0-printer_zpl2 :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png :target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| 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** .. contents:: :local: 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 :: 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. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/144/12.0 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 to smash it by providing a detailed and welcomed `feedback `_. Do not contact contributors directly about support or help with technical issues. Credits ======= Authors ~~~~~~~ * SUBTENO-IT * FLorent de Labarre * Apertoso NV Contributors ~~~~~~~~~~~~ * Sylvain Garancher * Florent de Labarre * Jos De Graeve * Rod Schouteden * Miquel Raïch * Lois Rilo * Tran Quoc Duong Maintainers ~~~~~~~~~~~ This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org 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.