Harald Welte
f244af540f
Adapt to typo of Internetmarke 1C4A API
...
Balance is written with one 'l', except in the API of Deutsche Post
2016-07-15 17:16:40 +02:00
Harald Welte
db33beee81
fix company name when partner.is_company
2016-07-15 17:12:35 +02:00
Harald Welte
59be0de70f
use voucher ID for filename, as tracking ID might not be present
2016-07-15 17:10:54 +02:00
Harald Welte
4a6217e9a7
fixup of syntax after last commit
2016-07-15 17:10:43 +02:00
Harald Welte
663fde65f4
use partner.is_company as indicator for company address
2016-07-15 17:03:20 +02:00
Harald Welte
77f0962743
make sure tracking number is always set, even if there is none
...
Depending on the product used, there is no tracking number. However,
the odoo shipping infrastructure expects us to return one.
Also, add a bogus space at the beginning of the tracking number, as odoo
shipping infrastructure removes the first character ?!?
2016-07-15 16:49:34 +02:00
Harald Welte
0b16804bcb
fix various typos leading to exceptions
2016-07-15 16:49:20 +02:00
Harald Welte
074bc533cb
avoid 'False' being printed on address labels for street2 / person
2016-07-15 16:48:49 +02:00
Harald Welte
c7eb19fa57
more heuristics for splitting street/house and first/last name
2016-07-15 16:48:12 +02:00
Harald Welte
14356e8203
initial import of Odoo Internetmarke Code
2016-07-14 01:27:25 +02:00