Cédric Krier edd4366ac9 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
2016-06-01 18:56:52 +02:00
2020-10-31 12:14:32 +01:00
2020-12-19 17:08:47 +01:00
2020-10-16 19:19:58 +02:00
2020-11-02 16:15:35 +01:00
2020-03-01 12:33:54 +01:00
2016-06-01 18:56:52 +02:00
2020-05-04 12:32:26 +02:00
2016-06-01 18:56:52 +02:00
2020-12-19 17:08:47 +01:00
2020-12-19 17:08:47 +01:00
2020-11-02 16:15:45 +01:00

Stock Package Shipping Module
#############################

This module is the base module required to interact with shipping service
providers.

Carrier
*******

The Carrier model adds the following field:

- *Shipping Service*: The shipping service of the carrier.

This field is programmatically filled by the modules providing support for
shipping companies.

Package Type
************

The Package Type model has been added the following fields:

- *Length*: The length of the packages of this type
- *Length Unit*: The unit of measure of this length
- *Length Digits*: The precision of length
- *Height*: The height of the packages of this type
- *Height Unit*: The unit of measure of this height
- *Height Digits*: The precision of height
- *Width*: The width of the packages of this type
- *Width Unit*: The unit of measure of this width
- *Width Digits*: The precision of width

Package
*******

The Package model has been added the following fields:

- *Shipping Reference*: The shipping reference provided by the shipping service
- *Shipping Label*: The shipping label provided by the shipping service
- *Weight*: A function field computing the weight of the package with its
  content

Shipment Out
************

The Shipment Out model will check once in the Packed state if the shipment is a
valid shipment for the shipping service. He does that by calling a method that
is by convention named ``validate_packing_<shipping service>``.

Once a shipment is packed, the user can create the shipping for each packages
with the shipping service by clicking on the *Create Shipping* button. This
button triggers a wizard that is overridden in shipping service specific
modules. The starting state of the wizard is a ``StateTransition``. Its linked
method is overridden in shipping service modules in order to communicate with
the service.
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
390 MiB
0 Stars 2 Watchers 0 Forks
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%