Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][ADD] delivery_package_gs1_barcode_report #654

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
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
93 changes: 93 additions & 0 deletions delivery_package_gs1_barcode_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
===================================
Delivery package GS1 barcode report
===================================

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

.. |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/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--barcode-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-barcode/tree/16.0/delivery_package_gs1_barcode_report
:alt: OCA/stock-logistics-barcode
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-barcode-16-0/stock-logistics-barcode-16-0-delivery_package_gs1_barcode_report
: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-barcode&target_branch=16.0
:alt: Try me on Runboat

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

Add a new report that prints a label for each package, containing GS1 codes that contain the information about the package: weight, amount of items and SSCC tracking code.

**Table of contents**

.. contents::
:local:

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

To configure this module, install it and make sure you enable the Packages setting (Settings > Operations > Packages).

Usage
=====

#. Create a new transfer with a product with a serial number.
#. Assign packages to the individual products in the transfer
#. On the transfer, click Print SSCC barcode label.

A PDF report will show with GS1 barcodes describing among others the weight, SSCC code, and the amount of items in the package.

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

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

* Therp BV

Contributors
~~~~~~~~~~~~

* `Therp BV <https://www.therp.nl>`_:

* Tom Blauwendraat <[email protected]>


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-barcode <https://github.com/OCA/stock-logistics-barcode/tree/16.0/delivery_package_gs1_barcode_report>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
21 changes: 21 additions & 0 deletions delivery_package_gs1_barcode_report/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Delivery package GS1 barcode report",
"summary": """Print a label for outgoing stock packages, including a GS1 barcode""",
"author": "Therp BV, Odoo Community Association (OCA)",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"category": "Delivery",
"depends": [
"delivery",
"product_expiry",
"sale_stock",
],
"data": [
"data/report_paperformat.xml",
"reports/report_package_barcode.xml",
"reports/stock_report_views.xml",
],
"website": "https://github.com/OCA/stock-logistics-barcode",
}
20 changes: 20 additions & 0 deletions delivery_package_gs1_barcode_report/data/report_paperformat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="paperformat_a5" model="report.paperformat">
<field name="name">A5</field>
<field name="default" eval="True" />
<field name="format">A5</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">40</field>
<field name="margin_bottom">32</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">35</field>
<field name="dpi">90</field>
</record>

</odoo>
1 change: 1 addition & 0 deletions delivery_package_gs1_barcode_report/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To configure this module, install it and make sure you enable the Packages setting (Settings > Operations > Packages).
4 changes: 4 additions & 0 deletions delivery_package_gs1_barcode_report/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Therp BV <https://www.therp.nl>`_:

* Tom Blauwendraat <[email protected]>

1 change: 1 addition & 0 deletions delivery_package_gs1_barcode_report/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a new report that prints a label for each package, containing GS1 codes that contain the information about the package: weight, amount of items and SSCC tracking code.
5 changes: 5 additions & 0 deletions delivery_package_gs1_barcode_report/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#. Create a new transfer with a product with a serial number.
#. Assign packages to the individual products in the transfer
#. On the transfer, click Print SSCC barcode label.
thomaspaulb marked this conversation as resolved.
Show resolved Hide resolved

thomaspaulb marked this conversation as resolved.
Show resolved Hide resolved
A PDF report will show with GS1 barcodes describing among others the weight, SSCC code, and the amount of items in the package.
Loading
Loading