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

[18.0][MIG] delivery_carrier_label_batch: Migration to 18.0 #984

Open
wants to merge 61 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
a10f762
[9.0] port module delivery_carrier_label_dispatch
yvaucher Jul 21, 2016
170f098
Update translations
yvaucher Jul 22, 2016
7b74638
Cannot update options due to limitation of api 8.0
yvaucher Jul 22, 2016
5d95958
Use IDs instead of recordset for write
mdietrichc2c Aug 23, 2016
4715354
rename field tracking_id to package_id
guewen Sep 27, 2016
38918ab
Remove self.pool + add correct attachment name
mdietrichc2c Nov 30, 2016
ca629ee
View changed in batch_stock_picking
mdietrichc2c Dec 1, 2016
95bf2ec
Fix condition
guewen Apr 26, 2017
1ec106f
Thread label generation to make it faster
guewen Apr 26, 2017
574899e
Fix onchange for batch picking
mdietrichc2c May 1, 2017
80485a4
Correct error treatment
mdietrichc2c May 1, 2017
66b48b4
Fix empty pdf issue
guewen May 1, 2017
55cfda3
Add pick/pack info to all exceptions
mdietrichc2c May 1, 2017
3920990
e.message deprecated from 2.6
mdietrichc2c May 1, 2017
5e47465
Allow to print labels on operations without product
guewen May 9, 2017
46ea854
Fix concurrent error on batch labels
guewen May 11, 2017
b98eec5
Do not regenerate existing labels unless forced + pylint fix
p-tombez May 4, 2018
6f01e83
[12.0][MIG] delivery_carrier_label_batch
TDu Sep 10, 2019
ad77f69
fixes for cahnges in migration of base_deliver_carrier_label (#1)
tschanzt Nov 12, 2019
96d9cda
[9.0][ADD] support of zpl labels
Sep 12, 2019
1a5a4f2
[IMP] delivery_carrier_label_batch: add support for ZPL labels
sebalix Sep 27, 2019
1cc1d4c
Fix tests
Nov 28, 2019
bcbeba7
add missing _description
Dec 11, 2019
d23ee05
[IMP] delivery_carrier_label_batch: ZPL2 single images
grindtildeath Apr 23, 2020
c668e72
Apply suggestions from code review
grindtildeath Apr 28, 2020
2af1ed5
Fixes after reviews
grindtildeath Apr 28, 2020
5953516
[IMP][ZPL] option to not merge Zpl file (printer failed to print to b…
vrenaville Jun 19, 2020
13bfe54
[IMP] label name from batch tracking zpl
vrenaville Jun 22, 2020
35f0937
Add a check that all picking have packs before generating them.
yvaucher Sep 29, 2020
ea15c76
label batch: Enforce use of packages
yvaucher Sep 29, 2020
b356873
Fix rst format, not an inline emphasis
yvaucher Oct 13, 2020
0463540
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Oct 13, 2020
a890a8b
[UPD] README.rst
OCA-git-bot Oct 13, 2020
f2b612c
[ADD] icon.png
OCA-git-bot Oct 13, 2020
1af0d5d
Remove broken icon
yvaucher Oct 13, 2020
32727e6
delivery_carrier_label_batch 12.0.1.0.1
OCA-git-bot Oct 13, 2020
663b6d9
Update translation files
oca-transbot Oct 13, 2020
170c51e
[IMP] delivery_carrier_label_batch: black, isort, prettier
kv1612 Dec 21, 2021
fec0024
[MIG] delivery_carrier_label_batch: Migration to 14.0
kv1612 Dec 21, 2021
de58da4
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Mar 24, 2022
cd57c45
[UPD] README.rst
OCA-git-bot Mar 24, 2022
0532784
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 30, 2022
8ee6dda
FIX delivery_carrier_label_batch invalid field
StephaneMangin Jul 11, 2022
e26cdca
delivery_carrier_label_batch: Allow testing labels generation
grindtildeath Apr 26, 2022
aace022
Apply suggestions from code review
grindtildeath Jun 7, 2022
e1b284c
delivery_carrier_label_batch: empty cache once threads finished
sebalix Jun 21, 2022
545b614
delivery_carrier_label_batch 14.0.1.0.1
OCA-git-bot Oct 10, 2022
b671cce
delivery_carrier_label_batch 14.0.1.0.2
OCA-git-bot Dec 6, 2022
59bc3e4
[IMP] delivery_carrier_label_batch: tracking reference purge
StephaneMangin Jul 4, 2022
1f1a34e
delivery_carrier_label_batch 14.0.1.1.0
OCA-git-bot Apr 28, 2023
316cbf6
[UPD] README.rst
OCA-git-bot Sep 3, 2023
2289f5e
Update translation files
weblate Oct 9, 2023
83da23b
[FIX] *: Linter fixes
pedrobaeza Oct 30, 2023
b5cba53
[BOT] post-merge updates
OCA-git-bot Oct 30, 2023
f8842b6
Added translation using Weblate (Spanish)
Ivorra78 Dec 20, 2023
60b92c5
Translated using Weblate (Spanish)
Ivorra78 Dec 20, 2023
80b763b
Translated using Weblate (Spanish)
Ivorra78 Dec 20, 2023
a9f638c
Added translation using Weblate (Italian)
mymage Jan 8, 2025
ce2599a
[IMP] delivery_carrier_label_batch: pre-commit auto fixes
yankinmax Feb 10, 2025
552fed5
[MIG] delivery_carrier_label_batch: Migration to 18.0
yankinmax Feb 13, 2025
823ed3d
DON'T MERGE test requirements
yankinmax Feb 20, 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 <yannick.vaucher@camptocamp.com>

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

- Khoi Vo <khoivha@trobz.com>

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
37 changes: 37 additions & 0 deletions delivery_carrier_label_batch/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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": [
# OCA/delivery-carrier
"delivery_carrier_option",
"delivery_carrier_shipping_label",
"delivery_postlogistics",
# 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