# 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.

- Configuration
  - `filestore`
  - `store_prefix`
- Release notes
  - Version 7.0.3 - 2026-06-02
  - Version 7.0.2 - 2025-10-02
  - Version 7.0.1 - 2024-05-01
  - Version 7.0.0 - 2023-10-30
  - Version 6.8.0 - 2023-05-01
  - Version 6.6.0 - 2022-10-31
  - Version 6.4.0 - 2022-05-02
  - Version 6.2.0 - 2021-11-01
  - Version 6.0.0 - 2021-05-03
  - Version 5.8.0 - 2020-11-02
  - Version 5.6.0 - 2020-05-04
  - Version 5.4.0 - 2019-11-04
  - Version 5.2.0 - 2019-05-06
  - Version 5.0.0 - 2018-10-01
  - Version 4.8.0 - 2018-04-23
  - Version 4.6.0 - 2017-10-30
  - Version 4.4.0 - 2017-05-01
  - Version 4.2.0 - 2016-11-28