Commit Graph

24 Commits

Author SHA1 Message Date
Harald Welte 8c01c30a40 pickup: fix _get_config(); must be issued on delivery.carrier model 2021-03-18 14:32:10 +01:00
Harald Welte b52818b41a pickup: Fix datetime / timezone conversion 2021-03-18 14:31:55 +01:00
Harald Welte 0a4df5f71a pickup: modification of earliest/latest only in draft state
once shipcloud has confirmed the pick-up, we cannot modify the times.
2021-03-18 14:01:55 +01:00
Harald Welte 7c39cf76b6 pickup: Fix conversion from Datetime field to datetimme instance
Quite odd that one has to call a static method providing the value
of the field as argument, but well...
2021-03-18 13:59:37 +01:00
Harald Welte 7f530376ec fix pick-up address
odoo_1                |   File "/opt/odoo/v8_addons/odoo-ext-sysmo/odoo_shipcloud/models/shipcloud_pickup.py", line 51, in button_request
odoo_1                |     sc_addr = build_sc_addr(p.address)
2021-03-18 13:53:38 +01:00
Harald Welte 870281afd0 Add new model for shipment pick-ups
Using this model, the user can select a number of pickings and
request them to be picked up from a user-specified address.
2021-03-16 18:52:59 +01:00
Harald Welte 85aae33280 shipcloud: Mark some fields 'readonly' if UI shouldn't write them 2021-03-15 21:17:54 +01:00
Harald Welte 8a448e41e2 shipcloud: make build_sc_addr() a 'free' function
It doesn't need anything from the 'self' object, so let's make
it a function free to use by anyone
2021-03-15 21:15:00 +01:00
Harald Welte 95160dd623 fixup api_key name change 2021-02-15 20:19:15 +01:00
Harald Welte 3001d7a8de fix inquiry (no pickings, and hence no packaging_tare) 2021-02-15 20:15:49 +01:00
Harald Welte 1338359e24 HACK: don't send customs declaration to UPS
this is required due to the invoice_date problem
2021-02-15 15:18:57 +01:00
Harald Welte 34aa1bbd58 Specify recipient e-mail for notifications; remove it for sandbox 2021-02-15 15:15:43 +01:00
Harald Welte 06414d363d don't search via domain for information available in field 2021-02-15 15:11:31 +01:00
Harald Welte 2dd63fa309 customs declaration: specify invoice number, not picking number 2021-02-15 15:09:19 +01:00
Harald Welte 1287ccf59d addach customs declaration, too - not just shipping label 2021-02-15 14:20:01 +01:00
Harald Welte 1d6f20e1eb create customs declaration if destination != EU 2021-02-15 11:00:26 +01:00
Harald Welte 35b7575e54 remove spaces from HTS numbers 2021-02-15 10:59:55 +01:00
Harald Welte 0abc037100 customs_declaration: use price from sale order, not move line 2021-02-15 10:59:22 +01:00
Harald Welte ef447dd8f9 add customs content description 2021-02-15 09:49:32 +01:00
Harald Welte ccb3cb7da5 HACK: no customs decl 2021-02-14 23:30:05 +01:00
Harald Welte be8ba42315 Add description of contents 2021-02-14 23:30:05 +01:00
Harald Welte 6ac659a755 truncate phone number if > 15 digits 2021-02-14 23:30:05 +01:00
Harald Welte 997b465ea9 allow specification of carrier+service 2021-02-14 23:30:05 +01:00
Harald Welte 5048d25df2 WIP: initial checkin 2021-02-14 20:20:51 +01:00