Richard Mathot
3098ab7fd1
[IMP] delivery: basic pluggable support for shipping integration
...
Add a `delivery_type` selection field on delivery.carrier.
The default is `grid` i.e. a static pricing grid with rules
to compute the delivery costs.
Future module will however be able to extend the `delivery_type`
selection to add new keys, such as `fedex` or `ups` and provide
custom implementations for the various API methods, as described
below.
In order to add your own external provider, follow these steps:
1. Create your model MyProvider that _inherits `delivery.carrier`
2. Extend the selection field `delivery_type` with a pair
('<my_provider' , 'My Provider')
3. Implement API methods as required:
<my_provider>_get_shipping_price_from_so
<my_provider>_send_shipping
<my_provider>_open_tracking_page
<my_provider>_cancel_shipment
2015-06-24 13:54:31 +02:00
..
2015-06-24 12:45:14 +02:00
2015-05-29 21:58:20 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-15 12:28:32 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-04-10 18:23:32 +02:00
2015-04-10 18:23:32 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-16 17:50:46 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-24 13:54:31 +02:00
2015-06-14 23:02:37 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-15 12:28:32 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-02-11 17:25:33 +01:00
2015-05-11 15:12:24 +02:00
2015-05-11 15:12:24 +02:00
2015-05-18 17:35:24 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-02-05 13:25:44 +01:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-06-15 12:28:32 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-05-05 18:48:34 +02:00
2015-05-29 21:58:20 +02:00
2015-05-29 18:28:10 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-02-11 17:25:33 +01:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-05-13 18:09:03 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-02-17 18:54:52 +01:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 18:28:10 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-24 12:45:14 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-23 15:36:16 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-15 14:57:14 +02:00
2015-06-23 15:36:16 +02:00
2015-04-21 17:15:05 +02:00
2015-05-29 21:58:20 +02:00
2015-06-15 14:57:15 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-02-24 09:26:13 +01:00
2015-02-24 09:26:13 +01:00
2015-06-18 19:41:31 +02:00
2015-06-24 12:45:14 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-03-09 15:33:43 +01:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-15 12:28:32 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-24 12:45:14 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-23 15:36:16 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-06-22 13:21:18 +02:00
2015-03-31 13:19:03 +02:00
2015-03-02 16:17:51 +01:00
2015-03-02 16:17:51 +01:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-24 12:45:14 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-08 14:03:50 +02:00
2015-06-23 16:16:50 +02:00
2015-06-18 19:41:31 +02:00
2015-06-15 12:28:32 +02:00
2015-05-29 21:58:20 +02:00
2015-06-15 12:28:32 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-06-24 12:45:14 +02:00
2015-05-29 21:58:20 +02:00
2015-06-16 15:36:05 +02:00
2015-06-16 15:36:05 +02:00
2015-04-14 15:30:06 +02:00
2015-06-22 13:21:18 +02:00
2015-06-24 12:45:14 +02:00
2015-04-28 09:45:53 +02:00
2015-06-15 12:28:32 +02:00
2015-06-10 15:34:41 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-04-16 19:40:48 +02:00
2015-06-08 14:03:50 +02:00
2015-05-21 18:01:57 +02:00
2015-05-29 21:58:20 +02:00
2015-02-12 16:25:16 +01:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-08 14:03:50 +02:00
2015-05-29 21:58:20 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 12:57:59 +02:00
2015-06-22 13:21:18 +02:00
2015-06-23 16:49:38 +02:00
2015-03-27 16:56:13 +01:00
2015-06-22 13:21:18 +02:00
2015-06-23 15:36:16 +02:00
2015-06-24 12:45:14 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-05-29 21:58:20 +02:00
2015-06-19 12:22:46 +02:00
2015-06-22 13:21:18 +02:00
2015-04-27 14:56:01 +02:00
2015-06-19 12:22:46 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-06-22 13:21:18 +02:00
2015-06-19 12:22:46 +02:00
2015-06-15 14:57:16 +02:00
2015-06-15 14:57:15 +02:00
2015-06-08 14:03:50 +02:00
2015-06-22 13:21:18 +02:00
2015-03-10 13:05:44 +01:00
2015-06-22 13:21:18 +02:00
2015-06-19 12:22:46 +02:00
2015-06-18 19:41:31 +02:00
2015-06-15 14:57:15 +02:00
2015-06-08 14:03:50 +02:00
2015-06-15 14:57:15 +02:00
2015-06-19 12:22:46 +02:00
2015-05-29 21:58:20 +02:00
2015-03-18 17:19:07 +01:00