diff --git a/delivery_note.odt b/delivery_note.odt index d8d30f5bee..e690ed1674 100644 Binary files a/delivery_note.odt and b/delivery_note.odt differ diff --git a/internal_shipment.odt b/internal_shipment.odt index 4b02a896b5..0de628ea33 100644 Binary files a/internal_shipment.odt and b/internal_shipment.odt differ diff --git a/shipment.py b/shipment.py index 293e5abdd9..fa6f162611 100644 --- a/shipment.py +++ b/shipment.py @@ -2433,6 +2433,11 @@ class DeliveryNote(CompanyReport): 'Delivery Note' __name__ = 'stock.shipment.out.delivery_note' + @classmethod + def execute(cls, ids, data): + with Transaction().set_context(address_with_party=True): + return super(DeliveryNote, cls).execute(ids, data) + @classmethod def get_context(cls, records, data): report_context = super(DeliveryNote, cls).get_context(records, data) @@ -2450,6 +2455,11 @@ class DeliveryNote(CompanyReport): class ShipmentReport(CompanyReport): move_attribute = 'inventory_moves' + @classmethod + def execute(cls, ids, data): + with Transaction().set_context(address_with_party=True): + return super(ShipmentReport, cls).execute(ids, data) + @classmethod def get_context(cls, records, data): report_context = super(ShipmentReport, cls).get_context(records, data)