Skip to main content

Package shipping for Tryton

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_stock_package_shipping-8.0.0.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trytond_stock_package_shipping-8.0.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file trytond_stock_package_shipping-8.0.0.tar.gz.

File metadata

File hashes

Hashes for trytond_stock_package_shipping-8.0.0.tar.gz
Algorithm Hash digest
SHA256 31b5528cc7f4aba5abec6b22a695cac647c6f9297747f5ac5a93da1e919ab1f4
MD5 d39d07ebd317a2088f919636cd52c2b5
BLAKE2b-256 4946b3b9bd2262b37f14cc00f52ff9660f2c22288c38ce1ae637763161f931b6

See more details on using hashes here.

File details

Details for the file trytond_stock_package_shipping-8.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trytond_stock_package_shipping-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae87dfb1f47deb6129edea3b466a12cf62c3ad53eba56a73991e2335bf8cba1
MD5 c447b7971f110c700bfe64083b14ffe7
BLAKE2b-256 bd92bb59ec729e590eebd9d31aef525dc641b193b742c00cca9f94733d7b23eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page