Commit Graph
24 Commits
Author SHA1 Message Date
Cédric Krier 015e13064a Do not fill Dimensions not PackageWeight when value is None
issue10627
review349041002
(grafted from fa8aec1bfa876edd0e328252ec916261332dc27d)

--HG--
branch : 6.0
2021-08-12 18:41:49 +02:00
Cédric Krier 70ee99429c Use proper exception attribute to get error message
issue10468
review359681002
(grafted from affd508997d028ff24e53a7b3ccdcd4eb13f7d87)

--HG--
branch : 6.0
2021-06-06 09:35:06 +02:00
Cédric Krier 45020b774d Rename zip into postal code
issue9853
review340411002
2021-03-31 23:59:33 +02:00
Cédric Krier a5e18420c3 Add tracking URL
issue10136
review341531002
2021-03-13 23:16:32 +01:00
Maxime Richez 375adf01c0 Allow updating dimensions on package
issue9846
review304891002
2021-03-01 09:08:18 +01:00
Cédric Krier be10e656f5 Manage shipping for supplier shipment returns
We move the shipping code in mixin's such that it can be applied on other
shipments.
We define properties to abstract the information needed by the create shipping
wizards. Such that they can be execute on any shipment.

issue9850
review324521002
2020-12-20 19:54:48 +01:00
Cédric Krier 6480e028dd Remove spaces from zip when set as PostalCode
UPS does not allow spaces in PostalCode.

issue9816
review326541003
2020-11-16 21:23:36 +01:00
Cédric Krier a056a218ce Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier 25c084db1c Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Cédric Krier 6b0c602a96 Ensure we receive enough PackageResults
We must ensure to fill all the packages with UPS tracking number and label.

issue8833
review274281002
2019-11-30 22:36:35 +01:00
Cédric Krier c7598aefb6 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:30 +01:00
Cédric Krier 67b22e8a34 Use party name of the address as name
and name of party as attention name

issue7556
review58321002
2018-08-21 19:01:20 +02:00
Cédric Krier 17b973e626 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier 641a00d0d1 Limit size of fields according to the documentation
issue6865
review39821002
2017-10-21 10:51:32 +02:00
Cédric Krier 2afe43ba4d Use party name of the address as attention name
issue6574
review34191002
2017-07-12 19:56:49 +02:00
Cédric Krier df9b7beb8d Use the right party in phone required error message
issue6562
review40431002
2017-06-16 09:47:34 +02:00
Cédric Krier b3fddb360f Do not fail if country is not set on address
issue6528
review39391002
2017-06-12 11:55:18 +02:00
Cédric Krier e63541ac5a Use right value for AttentionName
It is not needed to enforce the same party with the address because
AttentionName should be the name of the party and not the building name.

issue6300
review30061002
2017-03-08 10:20:33 +01:00
Cédric Krier ee12d825b9 Use total weight of package
issue6158
review29891002
2017-02-01 21:21:01 +01:00
Cédric Krier 2fdb0ea8a9 Do not translate UPS code/service name
issue6029
review27831002
2016-11-13 11:37:31 +01:00
Cédric Krier 4925acd5dd Add missing space in has_reference_number error message 2016-11-11 19:01:41 +01:00
Cédric Krier a890e16b6c Manage new address design
issue5493
review22241003
2016-09-06 09:20:58 +02:00
Nicolas Évrard 75f13dc1e3 Handle HTTP and SSL errors
The SSL errors occur on computers that are using old openssl version which fail
the handshake.

issue5601
review18191002
2016-06-08 17:57:39 +02:00
Nicolas Évrard 3d88cfd9e8 Initial commit
issue5439
review22921002
2016-06-01 19:03:55 +02:00