Cédric Krier
3e5c8f9fca
Add notification preference
...
issue11738
review425741003
2022-10-09 18:52:32 +02:00
Cédric Krier
0acbd5a7ce
Add optional address to contact mechanism
...
issue11705
review421691006
2022-10-01 14:52:06 +02:00
Cédric Krier
be0b1e984b
Add usage parameter for shipping contact mechanism
...
issue11238
review374861002
2022-03-07 00:23:41 +01:00
Cédric Krier
918c46bbf7
Do not truncate phone number
...
If the number is too long, we must not fill it.
issue11237
2022-02-26 11:19:43 +01:00
Cédric Krier
43d239ebcb
Test length of email value
...
issue11237
2022-02-26 11:18:15 +01:00
Cédric Krier
1c38d3dd3f
Do not truncate email address
...
If the address is too long, we must not fill it.
issue11237
review387901002
2022-02-17 00:39:44 +01:00
Cédric Krier
1162f8cfe1
Follow isort formatting
...
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier
8e4c632193
Raise user error on zeep Fault
...
issue10995
review374341003
2021-12-06 23:42:35 +01:00
Cédric Krier
b2a0a5c31b
Test if zeep Fault has detail before using it
...
issue10993
review370361002
2021-12-06 23:40:19 +01:00
Cédric Krier
f6bc5faeab
Add wizard to print shipping labels
...
issue10834
review375701002
2021-10-11 18:50:11 +02:00
Cédric Krier
c9b7187646
Use contact_mechanism_get to get phone and email
...
issue10752
review336931002
2021-09-26 23:07:57 +02:00
Cédric Krier
c439875482
Ensure that objects in the Pool has __slots__
...
issue10719
review375361002
2021-09-23 23:12:35 +02:00
Cédric Krier
9a47b1ebc2
Break loop when phone and email are found
...
issue10538
review367201002
2021-07-22 00:04:00 +02:00
Cédric Krier
a3d68da88d
Save the modified packages
...
The root_packages on the shipment may be a new list of instances if meanwhile
the local cache of the shipment instance has been cleared by reaching its size
limit.
issue10319
review346001002
2021-04-23 20:32:00 +02:00
Cédric Krier
106005fa95
Rename zip into postal code
...
issue9853
review340411002
2021-03-31 23:59:33 +02:00
Cédric Krier
dd2c231745
Limit name and city to 35 chars
...
issue10200
review332271013
2021-03-18 22:31:20 +01:00
Cédric Krier
b3f58f5b2f
Add tracking URL
...
issue10136
review341531002
2021-03-13 23:16:32 +01:00
Cédric Krier
091db50241
Ensure we receive enough packages
...
We must ensure to fill all the packages with DPD tracking number and label.
issue10141
review340091002
2021-03-07 10:04:08 +01:00
Maxime Richez
b7ba820675
Allow updating dimensions on package
...
issue9846
review304891002
2021-03-01 09:08:18 +01:00
Cédric Krier
db72760175
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
da43d5b2e4
Allow choosing the DPD product and formats
...
issue9857
review328991002
2020-12-18 00:19:07 +01:00
Cédric Krier
4c82a4cee2
Set only non required parcel field when possible
...
We must fill only when it is not empty.
issue9907
review329811002
2020-12-16 20:42:56 +01:00
Cédric Krier
d28febdb79
Add model, record and records attribute on Wizard
...
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier
143d0c156a
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
8436621981
Replace raise_user_error left by explicit raise
...
issue8356
review261531005
2019-05-30 09:35:10 +02:00
Cédric Krier
e2b942d6ad
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:30 +01:00
Cédric Krier
71d67a59b2
Use party full name
...
issue7556
review54271002
2018-08-21 19:00:28 +02:00
Cédric Krier
866efdbe82
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:57 +02:00
Cédric Krier
5db8cfd72d
Fill name2 with party name of address if different of party
...
issue6575
review41371002
2017-07-10 23:57:09 +02:00
Cédric Krier
e5c4b317cf
Do not fail is country is not set on address
...
issue6528
review34151002
2017-06-16 13:45:43 +02:00
Nicolas Évrard
cbe05d0b57
remove startPosition as it has a default value and breaks .dpd.nl ws
...
issue6261
review27331002
2017-02-13 16:24:14 +01:00
Cédric Krier
46e31086db
Use total weight of package
...
issue6158
review29121002
2017-02-01 21:18:55 +01:00
Cédric Krier
381c49ea1f
Use absolute import to import locale
...
Since locale folder has been created with the translations, Python3 tests
failed because 2to3 converts the import of locale into a relative import
because it detects the locale folder.
2016-11-26 13:19:38 +01:00
Cédric Krier
beda3bf049
Add missing space in has_reference_number error message
2016-11-11 19:00:55 +01:00
Cédric Krier
7431bc2ef0
Normalize language to include country code
...
Since changeset 66058a05f1, the language can be two code only so we need to
normalize it as the DPD API always requires the country code.
issue5976
review27761002
2016-10-25 11:10:46 +02:00
Cédric Krier
995a3c18a7
Rename language codes
...
issue5443
2016-09-10 23:28:45 +02:00
Cédric Krier
fe7aa95157
Manage new address design
...
issue5493
review29461002
2016-09-06 09:20:25 +02:00
Cédric Krier
1cf42b9974
Set correct SOAP headers
...
The keyword is _soapheaders when it is a dictionary and the authentication
parameters must be inside the authentication element.
issue5836
review32521002
2016-08-31 22:53:13 +02:00
Nicolas Évrard
a70dc79839
Disable zeep cache handling when using the test server
...
issue5600
review20231002
2016-06-03 17:26:55 +02:00
Nicolas Évrard
8c8d9e6e2c
Handle DPD Errors gracefully
...
issue5597
review20231003
2016-06-02 19:04:53 +02:00
Nicolas Évrard
802766347a
Initial commit
...
issue5439
review25091002
2016-06-01 19:07:40 +02:00