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
131 changes: 131 additions & 0 deletions stock_report_partner_ref/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
========================
Stock Report Partner Ref
========================

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

.. |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_report_partner_ref
: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_report_partner_ref
: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 reports to display the customer
reference (``partner.ref``).

It enhances both delivery and operational reports to improve
traceability and customer identification in logistics documents.

The reference is resolved using the following priority:

1. Picking partner reference (``partner_id.ref``)
2. Commercial partner reference
(``partner_id.commercial_partner_id.ref``)

The implementation keeps the logic simple and aligned with standard Odoo
report behavior, avoiding unnecessary complexity.

.. 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 the module.
2. Go to Inventory and open any stock picking.
3. Print a Delivery Slip or Picking Operations report.

If a customer reference exists, it will be displayed in the report.

The module extends the following reports:

- ``stock.report_delivery_document`` (Delivery Slip)
- ``stock.report_picking`` (Picking Operations)

The reference is resolved automatically based on the picking partner. If
no direct reference is found, the system falls back to the commercial
partner reference.

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

- Improve positioning for different report layouts.
- Add optional configuration to enable or disable the reference display.
- Extend support to additional stock-related reports.

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_report_partner_ref%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

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-Binhex Systems Solutions S.L| image:: https://github.com/Binhex Systems Solutions S.L.png?size=40px
:target: https://github.com/Binhex Systems Solutions S.L
:alt: Binhex Systems Solutions S.L

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

|maintainer-Binhex Systems Solutions S.L|

This module is part of the `OCA/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/17.0/stock_report_partner_ref>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
22 changes: 22 additions & 0 deletions stock_report_partner_ref/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Stock Report Partner Ref",
"summary": "Adds customer reference to stock picking reports",
"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",
"sale_stock",
],
"data": [
"views/partner_ref.xml",
"views/report_delivery.xml",
"views/report_picking.xml",
],
"installable": True,
"application": False,
"maintainers": ["Binhex Systems Solutions S.L"],
"development_status": "Alpha",
}
21 changes: 21 additions & 0 deletions stock_report_partner_ref/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_report_partner_ref
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-07 08:06+0000\n"
"PO-Revision-Date: 2026-04-07 08:06+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: stock_report_partner_ref
#: model_terms:ir.ui.view,arch_db:stock_report_partner_ref.partner_ref_block
msgid "<strong>Customer Reference:</strong>"
msgstr "<strong>Referencia del cliente:</strong>"
3 changes: 3 additions & 0 deletions stock_report_partner_ref/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions stock_report_partner_ref/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Binhex Systems Solutions S.L.](https://www.binhex.cloud):
- Ariel Torres
13 changes: 13 additions & 0 deletions stock_report_partner_ref/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This module extends stock picking reports to display the customer
reference (``partner.ref``).

It enhances both delivery and operational reports to improve
traceability and customer identification in logistics documents.

The reference is resolved using the following priority:

1. Picking partner reference (``partner_id.ref``)
2. Commercial partner reference (``partner_id.commercial_partner_id.ref``)

The implementation keeps the logic simple and aligned with standard
Odoo report behavior, avoiding unnecessary complexity.
3 changes: 3 additions & 0 deletions stock_report_partner_ref/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Improve positioning for different report layouts.
* Add optional configuration to enable or disable the reference display.
* Extend support to additional stock-related reports.
16 changes: 16 additions & 0 deletions stock_report_partner_ref/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
To use this module:

1. Install the module.
2. Go to Inventory and open any stock picking.
3. Print a Delivery Slip or Picking Operations report.

If a customer reference exists, it will be displayed in the report.

The module extends the following reports:

- ``stock.report_delivery_document`` (Delivery Slip)
- ``stock.report_picking`` (Picking Operations)

The reference is resolved automatically based on the picking partner.
If no direct reference is found, the system falls back to the commercial
partner reference.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading