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 #468

Merged
merged 39 commits into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
cf93046
[9.0] port module delivery_carrier_label_dispatch
yvaucher Jul 21, 2016
4fe72e5
Update translations
yvaucher Jul 22, 2016
50571b6
Cannot update options due to limitation of api 8.0
yvaucher Jul 22, 2016
7eaaed6
Use IDs instead of recordset for write
mdietrichc2c Aug 23, 2016
8e0d377
rename field tracking_id to package_id
guewen Sep 27, 2016
6051bf6
Remove self.pool + add correct attachment name
mdietrichc2c Nov 30, 2016
0e753b4
View changed in batch_stock_picking
mdietrichc2c Dec 1, 2016
55f7a7b
Fix condition
guewen Apr 26, 2017
4441a40
Thread label generation to make it faster
guewen Apr 26, 2017
3550689
Fix onchange for batch picking
mdietrichc2c May 1, 2017
f6429a6
Correct error treatment
mdietrichc2c May 1, 2017
7842a50
Fix empty pdf issue
guewen May 1, 2017
cd17537
Add pick/pack info to all exceptions
mdietrichc2c May 1, 2017
0141cac
e.message deprecated from 2.6
mdietrichc2c May 1, 2017
971e749
Allow to print labels on operations without product
guewen May 9, 2017
38802d3
Fix concurrent error on batch labels
guewen May 11, 2017
06a30d2
Do not regenerate existing labels unless forced + pylint fix
p-tombez May 4, 2018
ff49763
[12.0][MIG] delivery_carrier_label_batch
TDu Sep 10, 2019
0ebc49f
fixes for cahnges in migration of base_deliver_carrier_label (#1)
tschanzt Nov 12, 2019
3f918e4
[9.0][ADD] support of zpl labels
Sep 12, 2019
c8325ec
[IMP] delivery_carrier_label_batch: add support for ZPL labels
sebalix Sep 27, 2019
3cf1bcf
Fix tests
Nov 28, 2019
72ab14e
add missing _description
Dec 11, 2019
4d63d92
[IMP] delivery_carrier_label_batch: ZPL2 single images
grindtildeath Apr 23, 2020
23bd85e
Apply suggestions from code review
grindtildeath Apr 28, 2020
daf7173
Fixes after reviews
grindtildeath Apr 28, 2020
5e8d7aa
[IMP][ZPL] option to not merge Zpl file (printer failed to print to b…
vrenaville Jun 19, 2020
5bf9ace
[IMP] label name from batch tracking zpl
vrenaville Jun 22, 2020
7540885
Add a check that all picking have packs before generating them.
yvaucher Sep 29, 2020
576613b
label batch: Enforce use of packages
yvaucher Sep 29, 2020
263562f
Fix rst format, not an inline emphasis
yvaucher Oct 13, 2020
9c2c71f
[UPD] Update delivery_carrier_label_batch.pot
oca-travis Oct 13, 2020
df82f9b
[UPD] README.rst
OCA-git-bot Oct 13, 2020
44e5517
[ADD] icon.png
OCA-git-bot Oct 13, 2020
31cee3b
Remove broken icon
yvaucher Oct 13, 2020
a038f44
delivery_carrier_label_batch 12.0.1.0.1
OCA-git-bot Oct 13, 2020
c685a98
Update translation files
oca-transbot Oct 13, 2020
0e59eca
[IMP] delivery_carrier_label_batch: black, isort, prettier
kv1612 Dec 21, 2021
939b8aa
[MIG] delivery_carrier_label_batch: Migration to 14.0
kv1612 Dec 21, 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