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

[13.0][MIG] base_delivery_carrier_label #251

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
09a83b3
[ADD] base_delivery_carrier_label portage of Akretion delivery_shippi…
yvaucher Nov 26, 2013
a583d08
[CHG] pep-8 and pep-257, return eagerly in option_ids_change to avoid…
guewen Nov 27, 2013
562767b
[CHG] contributors
yvaucher Nov 27, 2013
d00dd35
[DEL] Remove unused views
jgrandguillaume Dec 10, 2013
fe85fa6
[IMP] add tracking_id on shipping label to be able to create a label …
yvaucher Dec 17, 2013
c9d0e5e
[FIX] load the ir.model.access.csv file
guewen Dec 23, 2013
611b40d
[FIX] Replace NotImplemented exception which was wrongly interpreted …
yvaucher Jan 9, 2014
80bb179
[IMP] add a menu entry 'Carriers' in settings
bealdav Feb 18, 2014
01a79d9
[ADD] an optional parameter 'tracking_ids' so we can decide to genera…
guewen Feb 19, 2014
aa205bd
base_delivery_carrier_label - Improve carrier type selection inheritance
yvaucher Feb 26, 2014
f46f804
Launchpad automatic translations update.
Mar 1, 2014
c4b7c66
[IMP] add common view action to use by module install
bealdav Mar 2, 2014
f51fa03
When tracking_ids is defined, generate one default label per tracking id
yvaucher Mar 12, 2014
b9fa80f
[IMP] complete translation and fix view
bealdav Mar 12, 2014
75f35aa
Launchpad automatic translations update.
Mar 21, 2014
5638817
[IMP] add _customize_sender_address method
bealdav May 28, 2014
e6cf975
set installable to false
yvaucher Jul 2, 2014
b342300
[REF] remove stock.picking.in and .out
bealdav Oct 28, 2014
b040dfc
[FIX] add explicitely attachment_id (previously included by orm)
alexis-via Dec 2, 2014
a499866
[FIX] weight field type
bealdav Dec 3, 2014
a79c3ad
Add weight in form view of stock.quant.package
Dec 3, 2014
2740b6f
Migrate to new API
guewen Dec 5, 2014
c469bfb
Remove _order on stock.quant.packages, as asked by Guewen
Dec 9, 2014
6b0a58e
[FIX] writing package_id field in shipping.label
bealdav Dec 13, 2014
781adf5
[Usability] Better name_get on stock.quant.package
Jan 13, 2015
63ecb20
Allow to generate labels when we moved an entire package
guewen Jan 30, 2015
2667ad5
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
22f9be8
[PEP8]
yvaucher Mar 2, 2015
499d85a
add and generate initial german translations
rschnapka Jan 5, 2015
fb8c695
[NEW] Added spanish translation
cubells Feb 11, 2015
cbb5118
Do not return duplicate packages when several moves have the same one
guewen Jun 9, 2015
2424e1a
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
99ae0b6
[IMP] add get_weight() to quant package
guewen Nov 19, 2015
93cccf0
[IMP] put set_pack_weight() in picking
Nov 19, 2015
f7bbfb2
[IMP] put _check_existing_shipping_label() in picking
bealdav Nov 19, 2015
32364e8
refactore stock.get_weight()
hparfr Mar 22, 2016
c2263e0
[PORT] base_delivery_carrier_label port to 9.0
yvaucher Oct 15, 2015
d705ac8
Rename field type to carrier_type in delivery.carrier
Sep 26, 2016
04a6a34
WIP migraciont label
angelmoya Mar 29, 2017
d4280ce
ADD manifest and MIG 10
Nov 2, 2015
23ba820
FIX manifest wizard as transient model
angelmoya Apr 11, 2017
5d4660c
Use correct syntax to add options with onchange on stock picking
mdietrichc2c Apr 26, 2017
06d55a4
[FIX] base_delivery_carrier_label: Fix security.
May 26, 2017
d1bb065
[IMP] base_delivery_carrier_label: Add quant package tracking URI
lasley Nov 3, 2017
907c6d4
[MIG] 11.0 base_delivery_carrier_label
hugosantosred Jan 17, 2018
0adae3f
[IMP] Improve migration to 11.0
asaunier Apr 11, 2018
c58619f
[FIX] Remove occurences of carrier type
grindtildeath May 29, 2018
c8530d0
Add oldname to delivery_type
grindtildeath May 29, 2018
0ad89dc
[MIG] base_delivery_carrier_label: Migration to 12.0
Timo17100-c2c May 3, 2019
2fd2975
REFactor base_deliv_carr_label: always use package
bealdav Aug 20, 2019
8179196
IMP add view to carrier.account
bealdav Aug 29, 2019
ba59267
Remove duplicate entry in fa.po
sbidoul Aug 30, 2019
519d63e
[FIX] Wait data encoded in base64 / write tracking number on package
florian-dacosta Sep 5, 2019
79a2a92
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 8, 2019
7c250b9
[IMP] Add delivery type on carrier acount to be able to link easily a…
florian-dacosta Oct 23, 2019
8965590
[IMP] base_delivery_carrier_label: black, isort
ps-tubtim Mar 18, 2020
d7504e9
[MIG] base_delivery_carier_label: Migration to 13.0
ps-tubtim Mar 20, 2020
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
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
default_section=THIRDPARTY
known_third_party=lxml,setuptools
100 changes: 100 additions & 0 deletions base_delivery_carrier_label/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
==============================
Base module for carrier labels
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/13.0/base_delivery_carrier_label
: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-13-0/delivery-carrier-13-0-base_delivery_carrier_label
: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/13.0
:alt: Try me on Runbot

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

This module adds a button on delivery orders to generate a label as an
attachement. This module doesn't do anything by itself, it serves as a
base module for other carrier-specific modules.

**Table of contents**

.. contents::
:local:

Usage
=====

** How does it works ? **


In picking UI a button "Shipping label" trigger label generation
calling `action_generate_carrier_label()` in models/stock.picking.py


** How to implement my own carrier ? **


Override `generate_shipping_labels()` which is called by previous method
in the same file.

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:%20base_delivery_carrier_label%0Aversion:%2013.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
* Akretion

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

* David BEAL <david.beal@akretion.com>
* Sébastien BEAU <sebastien.beau@akretion.com>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Alexis de Lattre <alexis.delattre@akretion.com>
* Angel Moya <angel.moya@pesol.es>
* Ismael Calvo <ismael.calvo@factorlibre.com>
* Dave Lasley <dave@laslabs.com>
* Timothée Ringeard <timothee.ringeard@camptocamp.com>
* Pimolnat Suntian <pimolnats@ecosoft.co.th>

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/13.0/base_delivery_carrier_label>`_ 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 base_delivery_carrier_label/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
23 changes: 23 additions & 0 deletions base_delivery_carrier_label/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2013-2015 Yannick Vaucher (Camptocamp SA)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Base module for carrier labels",
"version": "13.0.1.0.0",
"author": "Camptocamp,Akretion,Odoo Community Association (OCA)",
"maintainer": "Camptocamp",
"category": "Delivery",
"depends": ["delivery"],
"website": "https://github.com/OCA/delivery-carrier",
"data": [
"views/delivery.xml",
"views/stock.xml",
"views/res_config.xml",
"views/carrier_account.xml",
"security/ir.model.access.csv",
"security/carrier_security.xml",
"wizard/manifest_wizard_view.xml",
],
"installable": True,
"auto_install": False,
"license": "AGPL-3",
}
Loading