Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
1810624
[9.0] port module delivery_carrier_label_dispatch
yvaucher Jul 21, 2016
c632b7a
Update translations
yvaucher Jul 22, 2016
360feea
Cannot update options due to limitation of api 8.0
yvaucher Jul 22, 2016
c7b5c73
Use IDs instead of recordset for write
mdietrichc2c Aug 23, 2016
de8997f
rename field tracking_id to package_id
guewen Sep 27, 2016
04b520a
Remove self.pool + add correct attachment name
mdietrichc2c Nov 30, 2016
1c1246c
View changed in batch_stock_picking
mdietrichc2c Dec 1, 2016
d2511fd
Fix condition
guewen Apr 26, 2017
d421313
Thread label generation to make it faster
guewen Apr 26, 2017
f70b4e9
Fix onchange for batch picking
mdietrichc2c May 1, 2017
615472f
Correct error treatment
mdietrichc2c May 1, 2017
bf132da
Fix empty pdf issue
guewen May 1, 2017
2f7eea6
Add pick/pack info to all exceptions
mdietrichc2c May 1, 2017
c257463
e.message deprecated from 2.6
mdietrichc2c May 1, 2017
dd16645
Allow to print labels on operations without product
guewen May 9, 2017
ea807a0
Fix concurrent error on batch labels
guewen May 11, 2017
debd445
Do not regenerate existing labels unless forced + pylint fix
May 4, 2018
80ff2cf
[12.0][MIG] delivery_carrier_label_batch
TDu Sep 10, 2019
1b16d47
fixes for cahnges in migration of base_deliver_carrier_label (#1)
tschanzt Nov 12, 2019
5c55928
[9.0][ADD] support of zpl labels
Sep 12, 2019
c449c46
[IMP] delivery_carrier_label_batch: add support for ZPL labels
sebalix Sep 27, 2019
39aa85f
Fix tests
Nov 28, 2019
b90b13b
add missing _description
Dec 11, 2019
c1029b4
[IMP] delivery_carrier_label_batch: ZPL2 single images
grindtildeath Apr 23, 2020
83f7a2e
Apply suggestions from code review
grindtildeath Apr 28, 2020
41671b6
Fixes after reviews
grindtildeath Apr 28, 2020
49741d3
[IMP][ZPL] option to not merge Zpl file (printer failed to print to b…
vrenaville Jun 19, 2020
2f451cf
[IMP] label name from batch tracking zpl
vrenaville Jun 22, 2020
6916468
Add a check that all picking have packs before generating them.
yvaucher Sep 29, 2020
4484887
label batch: Enforce use of packages
yvaucher Sep 29, 2020
48b5996
Fix rst format, not an inline emphasis
yvaucher Oct 13, 2020
a9a51a8
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Oct 13, 2020
74c508e
[UPD] README.rst
OCA-git-bot Oct 13, 2020
07897ee
[ADD] icon.png
OCA-git-bot Oct 13, 2020
74edfb7
Remove broken icon
yvaucher Oct 13, 2020
cac4e58
delivery_carrier_label_batch 12.0.1.0.1
OCA-git-bot Oct 13, 2020
75a9e3f
Update translation files
oca-transbot Oct 13, 2020
1982ec3
[IMP] delivery_carrier_label_batch: black, isort, prettier
kv1612 Dec 21, 2021
46f12d7
[MIG] delivery_carrier_label_batch: Migration to 14.0
kv1612 Dec 21, 2021
df2db7d
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Mar 24, 2022
2fb9d8a
[UPD] README.rst
OCA-git-bot Mar 24, 2022
53a25f1
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 30, 2022
945c763
FIX delivery_carrier_label_batch invalid field
Jul 11, 2022
be2cae5
delivery_carrier_label_batch: Allow testing labels generation
grindtildeath Apr 26, 2022
eab685f
Apply suggestions from code review
grindtildeath Jun 7, 2022
8024f50
delivery_carrier_label_batch: empty cache once threads finished
sebalix Jun 21, 2022
4694fc2
delivery_carrier_label_batch 14.0.1.0.1
OCA-git-bot Oct 10, 2022
694672d
delivery_carrier_label_batch 14.0.1.0.2
OCA-git-bot Dec 6, 2022
f3d1f1b
[IMP] delivery_carrier_label_batch: tracking reference purge
Jul 4, 2022
7c6525b
delivery_carrier_label_batch 14.0.1.1.0
OCA-git-bot Apr 28, 2023
6cc95a6
[UPD] README.rst
OCA-git-bot Sep 3, 2023
5c184d4
Update translation files
weblate Oct 9, 2023
9f2de13
[FIX] *: Linter fixes
pedrobaeza Oct 30, 2023
125aac6
[BOT] post-merge updates
OCA-git-bot Oct 30, 2023
757b01d
Added translation using Weblate (Spanish)
Ivorra78 Dec 20, 2023
42a3ae8
Translated using Weblate (Spanish)
Ivorra78 Dec 20, 2023
3e403b6
Translated using Weblate (Spanish)
Ivorra78 Dec 20, 2023
15f8e02
Added translation using Weblate (Italian)
mymage Jan 8, 2025
f672e40
[IMP] delivery_carrier_label_batch: pre-commit auto fixes
yankinmax Feb 10, 2025
ba8d54b
[MIG] delivery_carrier_label_batch: Migration to 18.0
yankinmax Feb 13, 2025
18449d5
[18.0] [FIX] stock_batch_picking.py: remove line updating `self.carri…
Camille0907 Jun 13, 2025
f0f852e
[18.0] [FIX] delivery_carrier_label_batch: replace ``UserError.name``…
Camille0907 Jun 17, 2025
99c171c
DON'T MERGE test requirements
yankinmax Feb 20, 2025
562ddab
[18.0] [FIX] delivery_carrier_label_batch: make ``_get_packs`` method…
Camille0907 Jul 11, 2025
8d793e9
delivery_carrier_label_batch: fix concurrent update
Apr 2, 2024
a49a551
[IMP] delivery_carrier_batch: limit number of threads
gurneyalex Jul 15, 2025
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
108 changes: 108 additions & 0 deletions delivery_carrier_label_batch/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
===========================================
Carrier labels - Stock Batch Picking (link)
===========================================

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

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

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

This module adds a wizard on picking batch to generate the labels of the
packs. The labels are merged in one PDF file.

If you want multiple labels for one picking, all the moves should have
been put in a pack before the labels can be printed.

If you don't define your pack it will be considered a picking is a
single pack.

**Table of contents**

.. contents::
:local:

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

If using ZPL2 file format, multiple \*.zpl can be merged either "as is"
or with "single image definition" to spare file size. Single image
definition can be used by defining ir.config_parameter with name
zpl2.assembler.single.images to True.

Usage
=====

To use this module, you need to:

1. Go to...

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/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/delivery-carrier/issues/new?body=module:%20delivery_carrier_label_batch%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
-------

* Camptocamp

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

- Yannick Vaucher <[email protected]>

- `Trobz <https://trobz.com>`__:

- Khoi Vo <[email protected]>

Other credits
-------------

The migration of this module from 12.0 to 14.0 was financially supported
by Camptocamp

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/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_label_batch>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions delivery_carrier_label_batch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
39 changes: 39 additions & 0 deletions delivery_carrier_label_batch/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2013-2019 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Carrier labels - Stock Batch Picking (link)",
"version": "18.0.1.0.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"maintainer": "Camptocamp",
"category": "Carrier",
"complexity": "normal",
"depends": [
# Odoo/core
"stock_delivery",
# OCA/delivery-carrier
"delivery_carrier_option",
"delivery_carrier_shipping_label",
"delivery_carrier_package_info",
# OCA/stock-logistics-workflow
"stock_picking_batch_extended",
],
"website": "https://github.com/OCA/delivery-carrier",
"data": [
# Security
"security/ir.model.access.csv",
# Data
"data/ir.config_parameter.xml",
# Views
"views/stock_batch_picking.xml",
# Wizard
"wizard/generate_labels_view.xml",
"wizard/apply_carrier_view.xml",
],
"installable": True,
"auto_install": True,
"license": "AGPL-3",
"application": False,
"external_dependencies": {
"python": ["PyPDF2"],
},
}
15 changes: 15 additions & 0 deletions delivery_carrier_label_batch/data/ir.config_parameter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record
forcecreate="True"
id="zpl2_assembler_single_images"
model="ir.config_parameter"
>
<field name="key">zpl2.assembler.single.images</field>
<field name="value">False</field>
</record>
<record forcecreate="True" id="zpl2_batch_merge" model="ir.config_parameter">
<field name="key">zpl2.batch.merge</field>
<field name="value">False</field>
</record>
</odoo>
Loading
Loading