|
|
|
@ -13,6 +13,9 @@ class SMCShippingDpClass(models.Model):
|
|
|
|
|
# list of services in this class for national delivery
|
|
|
|
|
services_natl = fields.Many2many(comodel_name = 'delivery.carrier.dp.service',
|
|
|
|
|
relation = 'dp_class_natl_services_rel')
|
|
|
|
|
# list of services in this class for EU delivery
|
|
|
|
|
services_eu = fields.Many2many(comodel_name = 'delivery.carrier.dp.service',
|
|
|
|
|
relation = 'dp_class_eu_services_rel')
|
|
|
|
|
# list of services in this class for international delivery
|
|
|
|
|
services_intl = fields.Many2many(comodel_name = 'delivery.carrier.dp.service',
|
|
|
|
|
relation = 'dp_class_intl_services_rel')
|
|
|
|
@ -30,6 +33,7 @@ class SMCShippingDpService(models.Model):
|
|
|
|
|
width = fields.Integer("Width")
|
|
|
|
|
length = fields.Integer("Length")
|
|
|
|
|
international = fields.Boolean("International")
|
|
|
|
|
eu = fields.Boolean("EU")
|
|
|
|
|
|
|
|
|
|
# extend stock.picking with fields for Shipment and Voucher ID
|
|
|
|
|
class SMCStockPickingDp(models.Model):
|
|
|
|
|