odoo14-addon-printer-zpl2


Nameodoo14-addon-printer-zpl2 JSON
Version 14.0.2.1.1 PyPI version JSON
download
home_pagehttps://github.com/OCA/report-print-send
SummaryAdd a ZPL II label printing feature
upload_time2025-07-11 14:45:37
maintainerNone
docs_urlNone
authorSUBTENO-IT, FLorent de Labarre, Apertoso NV, Odoo Community Association (OCA)
requires_python>=3.6
licenseAGPL-3
keywords
VCS
bugtrack_url
requirements pycups
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

==============
Printer ZPL II
==============

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:1b08c7b9fc6ab2bf5ed9c15809925d13a6d33b8bf520cf1082035dad1a2eab0a
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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/14.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-14-0/report-print-send-14-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=14.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 ::

    <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.

.. 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 <https://github.com/OCA/report-print-send/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 <https://github.com/OCA/report-print-send/issues/new?body=module:%20printer_zpl2%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* SUBTENO-IT
* FLorent de Labarre
* Apertoso NV

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>
* Lois Rilo <lois.rilo@forgeflow.com>

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 <https://github.com/OCA/report-print-send/tree/14.0/printer_zpl2>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/report-print-send",
    "name": "odoo14-addon-printer-zpl2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "SUBTENO-IT, FLorent de Labarre, Apertoso NV, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": ".. image:: https://odoo-community.org/readme-banner-image\n   :target: https://odoo-community.org/get-involved?utm_source=readme\n   :alt: Odoo Community Association\n\n==============\nPrinter ZPL II\n==============\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:1b08c7b9fc6ab2bf5ed9c15809925d13a6d33b8bf520cf1082035dad1a2eab0a\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n    :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github\n    :target: https://github.com/OCA/report-print-send/tree/14.0/printer_zpl2\n    :alt: OCA/report-print-send\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-printer_zpl2\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=14.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module extends the **Report to printer** (``base_report_to_printer``)\nmodule to add a ZPL II label printing feature.\n\nThis module is meant to be used as a base for module development, and does not provide a GUI on its own.\nSee below for more details.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nInstallation\n============\n\nNothing special, just install the module.\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Go to *Settings > Printing > Labels > ZPL II*\n#. Create new labels\n#. Import ZPL2 code\n#. Use the Test Mode tab during the creation\n\nIt's also possible to add a label printing wizard on any model by creating a new *ir.actions.act_window* record.\nFor example, to add the printing wizard on the *product.product* model ::\n\n    <act_window id=\"action_wizard_purchase\"\n      name=\"Print Label\"\n      src_model=\"product.product\"\n      res_model=\"wizard.print.record.label\"\n      view_mode=\"form\"\n      target=\"new\"\n      key2=\"client_action_multi\"/>\n\nUsage\n=====\n\nTo print a label, you need to call use the label printing method from anywhere (other modules, server actions, etc.).\n\nExample : Print the label of a product ::\n\n    self.env['printing.label.zpl2'].browse(label_id).print_label(\n        self.env['printing.printer'].browse(printer_id),\n        self.env['product.product'].browse(product_id))\n\nYou can also use the generic label printing wizard, if added on some models.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n   :alt: Try me on Runbot\n   :target: https://runbot.odoo-community.org/runbot/144/12.0\n\nChangelog\n=========\n\n13.0.1.0.0 (2019-09-30)\n~~~~~~~~~~~~~~~~~~~~~~~\n\n* [RELEASE] Port from V12.\n* Selection lists do not support integers any longer\n* Binary field now returns False when empty instead of none,\n  change tests to reflect this\n* work around an appels vs oranges warning\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/report-print-send/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/report-print-send/issues/new?body=module:%20printer_zpl2%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* SUBTENO-IT\n* FLorent de Labarre\n* Apertoso NV\n\nContributors\n~~~~~~~~~~~~\n\n* Sylvain Garancher <sylvain.garancher@syleam.fr>\n* Florent de Labarre\n* Jos De Graeve <Jos.DeGraeve@apertoso.be>\n* Rod Schouteden <rod.schouteden@dynapps.be>\n* Miquel Ra\u00efch <miquel.raich@forgeflow.com>\n* Lois Rilo <lois.rilo@forgeflow.com>\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/report-print-send <https://github.com/OCA/report-print-send/tree/14.0/printer_zpl2>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Add a ZPL II label printing feature",
    "version": "14.0.2.1.1",
    "project_urls": {
        "Homepage": "https://github.com/OCA/report-print-send"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dce05de01e89bbe877c845e0ca0d32c22e9fc1fe398cf8788ae080bd5fa60ce4",
                "md5": "a0cfa3a9f3fe331a478a2bcaf0db7fc7",
                "sha256": "77223d738ffdda2683d2e327c3985664f594d9561c9ee2892d5d5726b1f89f30"
            },
            "downloads": -1,
            "filename": "odoo14_addon_printer_zpl2-14.0.2.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a0cfa3a9f3fe331a478a2bcaf0db7fc7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 156209,
            "upload_time": "2025-07-11T14:45:37",
            "upload_time_iso_8601": "2025-07-11T14:45:37.568345Z",
            "url": "https://files.pythonhosted.org/packages/dc/e0/5de01e89bbe877c845e0ca0d32c22e9fc1fe398cf8788ae080bd5fa60ce4/odoo14_addon_printer_zpl2-14.0.2.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-11 14:45:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "report-print-send",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "pycups",
            "specs": []
        }
    ],
    "lcname": "odoo14-addon-printer-zpl2"
}
        
Elapsed time: 1.10754s