mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] delivery_hibou: package type 15
This commit is contained in:
@@ -204,7 +204,7 @@ class DeliveryCarrier(models.Model):
|
|||||||
for carrier in self:
|
for carrier in self:
|
||||||
carrier_packages = packages.filtered(lambda p: not p.carrier_tracking_ref and
|
carrier_packages = packages.filtered(lambda p: not p.carrier_tracking_ref and
|
||||||
(not p.carrier_id or p.carrier_id == carrier) and
|
(not p.carrier_id or p.carrier_id == carrier) and
|
||||||
p.packaging_id.package_carrier_type in (False, '', 'none', carrier.delivery_type))
|
p.package_type_id.package_carrier_type in (False, '', 'none', carrier.delivery_type))
|
||||||
if packages and not carrier_packages:
|
if packages and not carrier_packages:
|
||||||
continue
|
continue
|
||||||
if hasattr(carrier, '%s_rate_shipment_multi' % self.delivery_type):
|
if hasattr(carrier, '%s_rate_shipment_multi' % self.delivery_type):
|
||||||
|
|||||||
Reference in New Issue
Block a user