Metadata-Version: 2.1
Name: odoo-addon-report_label
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Print configurable self-adhesive labels reports
Home-page: https://github.com/OCA/reporting-engine
License: AGPL-3
Author: =?utf-8?q?Iv=C3=A1n_Todorovich=2C_Moka_Tourisme=2C_Odoo_Community_Association_=28OCA=29?=
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=============
Report Labels
=============

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

.. |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%2Freporting--engine-lightgray.png?logo=github
    :target: https://github.com/OCA/reporting-engine/tree/18.0/report_label
    :alt: OCA/reporting-engine
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_label
    :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/reporting-engine&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to create self-adhesive label printing actions on
any model.

**Table of contents**

.. contents::
   :local:

Configuration
=============

**Configure your Report Label Paperformat**

- Go to "Settings > Technical > Reporting > Label Paper Format"
- Create your self-adhesive label paper formats.

You should reuse or create a Paperformat.

|conf_image_1|

**Configure your Server action**

- Go to "Settings > Technical > Actions > Server Actions"

Create your label report :

- In the 'Action to do' field, select 'Print Self-adhesive Labels'
- In the 'Label Paper Format' field, select your label paper format
  previously created
- In the 'Label Qweb Template' create or reuse a QWeb template for your
  label.

|conf_image_2|

**Importante Note**

`By
design <https://github.com/OCA/reporting-engine/blob/14.0/report_label/reports/report_label.xml#L34>`__,
the variable used in this QWeb template must be named record.

.. |conf_image_1| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/report_label/static/description/report_paperformat_label_form.png
.. |conf_image_2| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/report_label/static/description/ir_actions_server.png

Usage
=====

- In the target model's list view, select the records to print.
- Click *Action* and your label report action name.
- Select the number of labels per record to print, and click Print.

you can optionaly define an offset

|usage_image_1|

The items will be printed in a pdf document.

|usage_image_2"|

.. |usage_image_1| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/report_label/static/description/report_label_wizard_form.png
.. |usage_image_2"| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/report_label/static/description/report_result.png

Known issues / Roadmap
======================

Known issues:

- This module depends on base_automation only because this module
  extends ir.actions.server with a new kind of action, and
  base.automation inherits from ir.actions.server by delegation in such
  a way that the modules cannot be loaded in another order. To do when
  migrating in version > 16 :

  1. remove ``base_automation`` dependency
  2. install ``report_label``

  3. install then ``base_automation``. If the installation of
  ``base_automation`` works, the dependency can be replaced by ``base``.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/reporting-engine/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/reporting-engine/issues/new?body=module:%20report_label%0Aversion:%2018.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
-------

* Iván Todorovich
* Moka Tourisme

Contributors
------------

- Iván Todorovich <ivan.todorovich@gmail.com>

- `Moka Tourisme <https://www.mokatourisme.fr>`__:

     - Grégory Schreiner

- Sylvain LE GAL
  <`https://twitter.com/legalsylvain\\> <https://twitter.com/legalsylvain\>>`__

- Stefan Rijnhart <stefan@opener.amsterdam>

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.

.. |maintainer-ivantodorovich| image:: https://github.com/ivantodorovich.png?size=40px
    :target: https://github.com/ivantodorovich
    :alt: ivantodorovich

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ivantodorovich| 

This module is part of the `OCA/reporting-engine <https://github.com/OCA/reporting-engine/tree/18.0/report_label>`_ project on GitHub.

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