Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions stock_picking_report_printed_flag/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
=================================
Stock Picking Report Printed Flag
=================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fstock--logistics--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-reporting/tree/17.0/stock_picking_report_printed_flag
:alt: OCA/stock-logistics-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-reporting-17-0/stock-logistics-reporting-17-0-stock_picking_report_printed_flag
: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/stock-logistics-reporting&target_branch=17.0
:alt: Try me on Runboat

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

This module extends ``stock.picking`` to support the printed flag
mechanism provided by the ``report_printed_flag`` module.

It enables tracking of printed warehouse documents and provides
visibility over report execution in logistics operations.

Main features:

- Adds ``printed`` field to ``stock.picking``
- Tracks printed reports using the core module
- Displays printed report names per record (optional field)
- Provides direct access to printed logs
- Adds search filters:

- Printed
- Not Printed

- Adds group by:

- Printed
- Printed Report Names

- Supports multi-company configurations

Printed report names are computed from related printed logs and
displayed as a comma-separated string.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module:

1. Install this module

2. Configure reports in:

*Settings > Printed Flag > Configurations*

3. Generate a picking report (delivery slip, receipt, etc.)

If properly configured:

- The picking will be marked as:

printed = True

- Printed logs will be created (if enabled)

- Printed report names will be computed (if enabled)

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

- Improve performance for large volumes of logs
- Evaluate support for additional stock reporting flows
- Enhance usability of printed logs in warehouse operations

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

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

* Binhex Systems Solutions S.L

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

- `Binhex Systems Solutions S.L. <https://www.binhex.cloud>`__:

- Ariel Torres
- Rolando Pérez Rebollo

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/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/17.0/stock_picking_report_printed_flag>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_picking_report_printed_flag/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions stock_picking_report_printed_flag/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Stock Picking Report Printed Flag",
"summary": "Adds printed flag support to stock picking",
"version": "17.0.1.0.0",
"category": "Stock",
"license": "AGPL-3",
"author": "Binhex Systems Solutions S.L, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-reporting",
"depends": [
"stock",
"report_printed_flag",
],
"data": [
"views/stock_picking_views.xml",
],
"installable": True,
"application": False,
"development_status": "Alpha",
"images": ["static/description/icon.png"],
}
77 changes: 77 additions & 0 deletions stock_picking_report_printed_flag/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * report_printed_flag_stock
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-01 10:43+0000\n"
"PO-Revision-Date: 2026-04-01 10:43+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: report_printed_flag_stock
#: model:ir.model.fields,help:report_printed_flag_stock.field_stock_picking__printed_report_names
msgid ""
"Comma-separated list of printed report names, computed from related printed "
"logs. Only active if enabled in configuration."
msgstr ""
"Lista de nombres de informes impresos separados por comas, calculada a partir de los registros impresos relacionados."
" Solo se activa si está habilitada en la configuración."

#. module: report_printed_flag_stock
#: model:ir.model.fields,help:report_printed_flag_stock.field_stock_picking__printed
msgid ""
"Indicates whether at least one configured report has been printed for this "
"record."
msgstr "Indica si el albarán ha sido impreso."

#. module: report_printed_flag_stock
#: model_terms:ir.ui.view,arch_db:report_printed_flag_stock.view_picking_tree_printed
msgid "Logs"
msgstr "Registros"

#. module: report_printed_flag_stock
#: model_terms:ir.ui.view,arch_db:report_printed_flag_stock.view_picking_search_printed
msgid "Not Printed"
msgstr "No Impreso"

#. module: report_printed_flag_stock
#: model:ir.model.fields,field_description:report_printed_flag_stock.field_stock_picking__printed
#: model_terms:ir.ui.view,arch_db:report_printed_flag_stock.view_picking_search_printed
msgid "Printed"
msgstr "Impreso"

#. module: report_printed_flag_stock
#: model:ir.model.fields,field_description:report_printed_flag_stock.field_stock_picking__printed_log_ids
msgid "Printed Log"
msgstr "Registro de Impresión"

#. module: report_printed_flag_stock
#: model_terms:ir.ui.view,arch_db:report_printed_flag_stock.view_picking_search_printed
msgid "Printed Report Names"
msgstr "Nombres de Informes Impresos"

#. module: report_printed_flag_stock
#: model:ir.model.fields,field_description:report_printed_flag_stock.field_stock_picking__printed_report_names
msgid "Printed Reports Names"
msgstr "Nombres de Informes Impresos"

#. module: report_printed_flag_stock
#: model:ir.model.fields,help:report_printed_flag_stock.field_stock_picking__printed_log_ids
msgid ""
"Technical relation to printed logs using a generic reference pattern "
"(res_model, res_id). Only logs related to stock.picking are included."
msgstr ""
"Relación técnica con los registros impresos utilizando un patrón de referencia genérico "
"(res_model, res_id). Solo se incluyen los registros relacionados con account.move."

#. module: report_printed_flag_stock
#: model:ir.model,name:report_printed_flag_stock.model_stock_picking
msgid "Transfer"
msgstr "Traslado"
1 change: 1 addition & 0 deletions stock_picking_report_printed_flag/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_picking
21 changes: 21 additions & 0 deletions stock_picking_report_printed_flag/models/stock_picking.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from odoo import models


class StockPicking(models.Model):
"""
Extension of ``stock.picking`` to integrate with the
``report_printed_flag`` infrastructure via the mixin.

Inheriting ``report.printed.mixin`` provides:
- ``printed``: Boolean field marking the picking as printed.
- ``printed_log_ids``: One2many relation to print logs.
- ``printed_report_names``: Computed comma-separated list of printed
report names.
- ``action_view_printed_logs()``: UI action to view logs.

No additional fields or methods are needed — all behavior comes from
the mixin.
"""

_name = "stock.picking"
_inherit = ["stock.picking", "report.printed.mixin"]
3 changes: 3 additions & 0 deletions stock_picking_report_printed_flag/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
9 changes: 9 additions & 0 deletions stock_picking_report_printed_flag/readme/CONFIGURATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Configuration is managed through the ``report_printed_flag`` module.

For ``stock.picking``:

- Select model: ``stock.picking``
- Define report rules
- Optionally enable:
- Printed Logs
- Printed Report Names
3 changes: 3 additions & 0 deletions stock_picking_report_printed_flag/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- [Binhex Systems Solutions S.L.](https://www.binhex.cloud):
- Ariel Torres
- Rolando Pérez Rebollo
22 changes: 22 additions & 0 deletions stock_picking_report_printed_flag/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This module extends ``stock.picking`` to support the printed flag
mechanism provided by the ``report_printed_flag`` module.

It enables tracking of printed warehouse documents and provides
visibility over report execution in logistics operations.

Main features:

- Adds ``printed`` field to ``stock.picking``
- Tracks printed reports using the core module
- Displays printed report names per record (optional field)
- Provides direct access to printed logs
- Adds search filters:
- Printed
- Not Printed
- Adds group by:
- Printed
- Printed Report Names
- Supports multi-company configurations

Printed report names are computed from related printed logs and displayed
as a comma-separated string.
3 changes: 3 additions & 0 deletions stock_picking_report_printed_flag/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Improve performance for large volumes of logs
* Evaluate support for additional stock reporting flows
* Enhance usability of printed logs in warehouse operations
17 changes: 17 additions & 0 deletions stock_picking_report_printed_flag/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
To use this module:

1. Install this module
2. Configure reports in:

*Settings > Printed Flag > Configurations*

3. Generate a picking report (delivery slip, receipt, etc.)

If properly configured:

- The picking will be marked as:

printed = True

- Printed logs will be created (if enabled)
- Printed report names will be computed (if enabled)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading