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

[14.0][MIG] delivery_carrier_label_batch - Migration to 14.0 #452

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a1f4f8f
[9.0] port module delivery_carrier_label_dispatch
yvaucher Jul 21, 2016
40c6d4c
Update translations
yvaucher Jul 22, 2016
04b9e7e
Cannot update options due to limitation of api 8.0
yvaucher Jul 22, 2016
e82cb25
Use IDs instead of recordset for write
mdietrichc2c Aug 23, 2016
5ba062e
rename field tracking_id to package_id
guewen Sep 27, 2016
caad7f9
Remove self.pool + add correct attachment name
mdietrichc2c Nov 30, 2016
6e17a95
View changed in batch_stock_picking
mdietrichc2c Dec 1, 2016
ddede1f
Fix condition
guewen Apr 26, 2017
0f110d5
Thread label generation to make it faster
guewen Apr 26, 2017
3d81149
Fix onchange for batch picking
mdietrichc2c May 1, 2017
17ef7d3
Correct error treatment
mdietrichc2c May 1, 2017
eb944f8
Fix empty pdf issue
guewen May 1, 2017
dbc3278
Add pick/pack info to all exceptions
mdietrichc2c May 1, 2017
384f26d
e.message deprecated from 2.6
mdietrichc2c May 1, 2017
dabb097
Allow to print labels on operations without product
guewen May 9, 2017
5fb86ca
Fix concurrent error on batch labels
guewen May 11, 2017
f455189
Do not regenerate existing labels unless forced + pylint fix
p-tombez May 4, 2018
7c75c1b
[12.0][MIG] delivery_carrier_label_batch
TDu Sep 10, 2019
9050d97
fixes for cahnges in migration of base_deliver_carrier_label (#1)
tschanzt Nov 12, 2019
395010b
[9.0][ADD] support of zpl labels
Sep 12, 2019
4c541ea
[IMP] delivery_carrier_label_batch: add support for ZPL labels
sebalix Sep 27, 2019
97704dd
Fix tests
Nov 28, 2019
11f3afd
add missing _description
Dec 11, 2019
3355f25
[IMP] delivery_carrier_label_batch: ZPL2 single images
grindtildeath Apr 23, 2020
2cbf419
Apply suggestions from code review
grindtildeath Apr 28, 2020
9553229
Fixes after reviews
grindtildeath Apr 28, 2020
b6de15b
[IMP][ZPL] option to not merge Zpl file (printer failed to print to b…
vrenaville Jun 19, 2020
60c9083
[IMP] label name from batch tracking zpl
vrenaville Jun 22, 2020
4af0fa7
Add a check that all picking have packs before generating them.
yvaucher Sep 29, 2020
f9e8961
label batch: Enforce use of packages
yvaucher Sep 29, 2020
708b72d
Fix rst format, not an inline emphasis
yvaucher Oct 13, 2020
fd82e00
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Oct 13, 2020
a29ffb3
[UPD] README.rst
OCA-git-bot Oct 13, 2020
333ed88
[ADD] icon.png
OCA-git-bot Oct 13, 2020
5cac593
Remove broken icon
yvaucher Oct 13, 2020
ace872e
delivery_carrier_label_batch 12.0.1.0.1
OCA-git-bot Oct 13, 2020
11d9bbe
Update translation files
oca-transbot Oct 13, 2020
4e97dbd
[IMP] delivery_carrier_label_batch: black, isort, prettier
kv1612 Dec 21, 2021
141ec94
[14.0][MIG] delivery_carrier_label_batch: Migration to 14.0
kv1612 Dec 21, 2021
29b7bdb
[TMP] test dependency: will be removed when it's merged
kv1612 Dec 22, 2021
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
101 changes: 101 additions & 0 deletions delivery_carrier_label_batch/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
===========================================
Carrier labels - Stock Batch Picking (link)
===========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/14.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-14-0/delivery-carrier-14-0-delivery_carrier_label_batch
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/99/14.0
:alt: Try me on Runbot

|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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_label_batch%0Aversion:%2014.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/14.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
26 changes: 26 additions & 0 deletions delivery_carrier_label_batch/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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": "14.0.1.0.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"maintainer": "Camptocamp",
"category": "Carrier",
"complexity": "normal",
"depends": ["base_delivery_carrier_label", "stock_picking_batch_extended"],
"website": "https://github.com/OCA/delivery-carrier",
"data": [
"data/ir.config_parameter.xml",
"views/stock_batch_picking.xml",
"security/ir.model.access.csv",
"wizard/generate_labels_view.xml",
"wizard/apply_carrier_view.xml",
],
"installable": True,
"auto_install": True,
"license": "AGPL-3",
"application": False,
"external_dependencies": {
"python": ["PyPDF2"],
},
}
14 changes: 14 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,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data noupdate="1">
<record id="zpl2_assembler_single_images" model="ir.config_parameter">
<field name="key">zpl2.assembler.single.images</field>
<field name="value">False</field>
</record>
<record id="zpl2_batch_merge" model="ir.config_parameter">
<field name="key">zpl2.batch.merge</field>
<field name="value">False</field>
</record>

</data>
</odoo>
Loading