Initial commit: OCA Report packages (45 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:05 +02:00
commit 2f4db400df
2543 changed files with 469120 additions and 0 deletions

View file

@ -0,0 +1,27 @@
**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.
.. image:: ../static/description/report_paperformat_label_form.png
**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.
.. image:: ../static/description/ir_actions_server.png
**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`.

View file

@ -0,0 +1,7 @@
* Iván Todorovich <ivan.todorovich@gmail.com>
* `Moka Tourisme <https://www.mokatourisme.fr>`_:
* Grégory Schreiner
* Sylvain LE GAL <https://twitter.com/legalsylvain>
* Stefan Rijnhart <stefan@opener.amsterdam>

View file

@ -0,0 +1 @@
This module allows you to create self-adhesive label printing actions on any model.

View file

@ -0,0 +1,12 @@
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``.

View file

@ -0,0 +1,11 @@
* In the target model's tree 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
.. image:: ../static/description/report_label_wizard_form.png
The items will be printed in a pdf document.
.. image:: ../static/description/report_result.png