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

[15.0][MIG] base_delivery_carrier_label #567

Closed
wants to merge 103 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
9230f38
[ADD] base_delivery_carrier_label portage of Akretion delivery_shippi…
yvaucher Nov 26, 2013
062a08c
[CHG] pep-8 and pep-257, return eagerly in option_ids_change to avoid…
guewen Nov 27, 2013
1d9b348
[CHG] contributors
yvaucher Nov 27, 2013
bc638a1
[DEL] Remove unused views
jgrandguillaume Dec 10, 2013
67523b1
[IMP] add tracking_id on shipping label to be able to create a label …
yvaucher Dec 17, 2013
e970ce8
[FIX] load the ir.model.access.csv file
guewen Dec 23, 2013
316b453
[FIX] Replace NotImplemented exception which was wrongly interpreted …
yvaucher Jan 9, 2014
1202af3
[IMP] add a menu entry 'Carriers' in settings
bealdav Feb 18, 2014
06eb486
[ADD] an optional parameter 'tracking_ids' so we can decide to genera…
guewen Feb 19, 2014
92f883a
base_delivery_carrier_label - Improve carrier type selection inheritance
yvaucher Feb 26, 2014
8e54f44
Launchpad automatic translations update.
Mar 1, 2014
e712784
[IMP] add common view action to use by module install
bealdav Mar 2, 2014
3d5729e
When tracking_ids is defined, generate one default label per tracking id
yvaucher Mar 12, 2014
fab1902
[IMP] complete translation and fix view
bealdav Mar 12, 2014
59020a3
Launchpad automatic translations update.
Mar 21, 2014
593abe0
[IMP] add _customize_sender_address method
bealdav May 28, 2014
30587ae
set installable to false
yvaucher Jul 2, 2014
e2a3eda
[REF] remove stock.picking.in and .out
bealdav Oct 28, 2014
d5d1e0a
[FIX] add explicitely attachment_id (previously included by orm)
alexis-via Dec 2, 2014
c96982e
[FIX] weight field type
bealdav Dec 3, 2014
899d25d
Add weight in form view of stock.quant.package
Dec 3, 2014
f9c774c
Migrate to new API
guewen Dec 5, 2014
e048197
Remove _order on stock.quant.packages, as asked by Guewen
Dec 9, 2014
1ffc101
[FIX] writing package_id field in shipping.label
bealdav Dec 13, 2014
071502b
[Usability] Better name_get on stock.quant.package
Jan 13, 2015
cf7f135
Allow to generate labels when we moved an entire package
guewen Jan 30, 2015
b4e1ace
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
cb41bcc
[PEP8]
yvaucher Mar 2, 2015
a1313c1
add and generate initial german translations
rschnapka Jan 5, 2015
33d3f01
[NEW] Added spanish translation
cubells Feb 11, 2015
6ee39e3
Do not return duplicate packages when several moves have the same one
guewen Jun 9, 2015
39d22d1
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
7f0723d
[IMP] add get_weight() to quant package
guewen Nov 19, 2015
6eea698
[IMP] put set_pack_weight() in picking
Nov 19, 2015
4f62160
[IMP] put _check_existing_shipping_label() in picking
bealdav Nov 19, 2015
750e01f
refactore stock.get_weight()
hparfr Mar 22, 2016
196f234
[PORT] base_delivery_carrier_label port to 9.0
yvaucher Oct 15, 2015
f9418b2
Rename field type to carrier_type in delivery.carrier
Sep 26, 2016
f9a4fcb
WIP migraciont label
angelmoya Mar 29, 2017
b07fc89
ADD manifest and MIG 10
Nov 2, 2015
ebf5174
FIX manifest wizard as transient model
angelmoya Apr 11, 2017
5c847fb
Use correct syntax to add options with onchange on stock picking
mdietrichc2c Apr 26, 2017
0bee2d4
[FIX] base_delivery_carrier_label: Fix security.
May 26, 2017
ebe5cc6
[IMP] base_delivery_carrier_label: Add quant package tracking URI
lasley Nov 3, 2017
37f3c12
[MIG] 11.0 base_delivery_carrier_label
hugosantosred Jan 17, 2018
f44a8cb
[IMP] Improve migration to 11.0
asaunier Apr 11, 2018
cde84da
[FIX] Remove occurences of carrier type
grindtildeath May 29, 2018
fa2f066
Add oldname to delivery_type
grindtildeath May 29, 2018
af303e1
[MIG] base_delivery_carrier_label: Migration to 12.0
Timo17100-c2c May 3, 2019
4a1c623
REFactor base_deliv_carr_label: always use package
bealdav Aug 20, 2019
e8664e0
IMP add view to carrier.account
bealdav Aug 29, 2019
64af8af
Remove duplicate entry in fa.po
sbidoul Aug 30, 2019
7cd0e58
[FIX] Wait data encoded in base64 / write tracking number on package
florian-dacosta Sep 5, 2019
a9ab153
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 8, 2019
d351698
[IMP] Add delivery type on carrier acount to be able to link easily a…
florian-dacosta Oct 23, 2019
b6fd50b
[IMP] base_delivery_carrier_label: black, isort
ps-tubtim Mar 18, 2020
9009ab4
[MIG] base_delivery_carier_label: Migration to 13.0
ps-tubtim Mar 20, 2020
de9dc36
[UPD] Update base_delivery_carrier_label.pot
oca-travis Oct 21, 2020
ece2575
Update translation files
oca-transbot Oct 23, 2020
30930b2
extract delivery_carrier_info from base_delivery_carrier_label
sebastienbeau Aug 30, 2020
c9aa88c
[ADD] generic test case for labels
hbrunn Sep 24, 2020
a4491ad
[ADD] handle labels created during shipping if any
hbrunn Sep 24, 2020
56d4307
[IMP] determine generate label button's visibility with a computed field
hbrunn Sep 24, 2020
2c610be
[ADD] carrier.account#sequence
hbrunn Sep 24, 2020
a4139f0
[ADD] test helper functions
hbrunn Sep 24, 2020
d201c8e
[ADD] active flag for options
hbrunn Sep 10, 2020
690cde2
FIX base_deliv_label: use valid qty to compute weight of move.line
bealdav Sep 10, 2020
76ea251
[FIX] fix migration
sebastienbeau Nov 5, 2020
9459da6
[IMP] base_delivery_carrier_label: black, isort, prettier
sebastienbeau Nov 5, 2020
649ed70
[MIG] migration to V14
sebastienbeau Nov 5, 2020
9875eae
Fix common carrier label tests
florian-dacosta Dec 8, 2020
fefdfa5
Refactore base_delivery_carrier_label to improve compatibility with n…
florian-dacosta Mar 9, 2021
0d3f29d
Fix test : show_label_button does not exist anymore
florian-dacosta Mar 25, 2021
77b3f8b
Fix docstrings
florian-dacosta Apr 21, 2021
12e516f
[UPD] Update base_delivery_carrier_label.pot
oca-travis May 1, 2021
476f145
[UPD] README.rst
OCA-git-bot May 1, 2021
8d25941
Allow to have multiple carrier accounts for a same delivery type and …
florian-dacosta Jun 7, 2021
463ac0c
[UPD] Update base_delivery_carrier_label.pot
oca-travis Sep 21, 2021
dd137ba
base_delivery_carrier_label 14.0.1.1.0
OCA-git-bot Sep 21, 2021
9311e85
Update translation files
oca-transbot Sep 21, 2021
43a8f05
Fix carrier account intercompany security rule
florian-dacosta Dec 3, 2021
daa9fc4
[IMP] base_delivery_carrier_label: allow bypassing default…
hailangvn Jan 19, 2022
be84496
[14.0] base_delivery_carrier_label: add check when no carrier_id assi…
Jan 10, 2022
afa5541
Translated using Weblate (French)
Yvesldff Jan 26, 2022
0b77703
[RFR] label case: allow to override transfer in setup
StefanRijnhart Apr 2, 2021
847c623
[RFR] Extract Test classes from Case classes for easier overriding
StefanRijnhart Apr 2, 2021
69a7efd
[12.0][RFR] base_delivery_carrier_label: show options as tags
StefanRijnhart Jun 12, 2021
916d416
[FIX] delivery.carrier.option form view
astirpe Jun 18, 2021
83ea879
[FIX] delivery.carrier.template.option form view
astirpe Jul 12, 2021
64e6c5e
base_delivery_carrier_label 14.0.1.1.1
OCA-git-bot Mar 14, 2022
ae2f0c5
[UPD] Update base_delivery_carrier_label.pot
oca-travis Mar 29, 2022
9f07ade
base_delivery_carrier_label 14.0.1.2.0
OCA-git-bot Mar 29, 2022
a50969b
Update translation files
oca-transbot Mar 29, 2022
9334500
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 30, 2022
49b80e0
base_delivery_carrier_label 14.0.1.2.1
OCA-git-bot Apr 4, 2022
cdf0656
Translated using Weblate (Italian)
francesco-ooops Apr 20, 2022
632a190
Translated using Weblate (Italian)
primes2h Apr 20, 2022
23fe08c
base_delivery_carrier: Fix alternative_send_shipping return value
grindtildeath Apr 22, 2022
c55c0db
base_delivery_carrier_label 14.0.1.2.2
OCA-git-bot May 6, 2022
21253e6
[FIX] base_delivery_carrier_label: avoid duplicating carrier_id
hailangvn May 21, 2022
2d9f03c
base_delivery_carrier_label 14.0.1.3.0
OCA-git-bot May 27, 2022
5b74238
[IMP] base_delivery_carrier_label: black, isort, prettier
Nov 16, 2022
17b74ca
[MIG] base_delivery_carrier_label: Migration to 15.0
Nov 16, 2022
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
Prev Previous commit
Next Next commit
[IMP] base_delivery_carrier_label: black, isort, prettier
nikolausweingartmair committed Nov 16, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5b742384d191ec70d1daced741b2ce4d4c386957
4 changes: 2 additions & 2 deletions base_delivery_carrier_label/tests/test_get_weight.py
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ def test_get_weight(self):
)

# test package.weight
self.assertEqual(package.weight, sum([product.weight for product in products]))
self.assertEqual(package.weight, sum(product.weight for product in products))

def test_total_weight(self):
"""Test quant.package.weight computed field when a total
@@ -157,7 +157,7 @@ def test_get_weight_with_qty(self):

# test package._weight
self.assertEqual(
package.weight, sum([operation.get_weight() for operation in operations])
package.weight, sum(operation.get_weight() for operation in operations)
)

def test_get_weight_with_uom(self):
6 changes: 6 additions & 0 deletions setup/base_delivery_carrier_label/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)