Delivery

class openerp.addons.magentoerpconnect.delivery.DeliveryCarrier(pool, cr)[source]

Bases: openerp.models.Model

Adds Magento specific fields to delivery.carrier

magento_code

Code of the carrier delivery method in Magento. Example: colissimo_express

magento_tracking_title

Display name of the carrier for the tracking in Magento. Example: Colissimo Express

magento_carrier_code

General code of the carrier, the first part of the magento_code. Example: colissimo for the method colissimo_express.

magento_export_tracking

Defines if the tracking numbers should be exported to Magento.
magento_carrier_code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parameters:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
magento_code

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parameters:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
magento_export_tracking
magento_tracking_title

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parameters:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated