diff --git a/delivery_note.odt b/delivery_note.odt index e690ed1674..7dd23bc5fd 100644 Binary files a/delivery_note.odt and b/delivery_note.odt differ diff --git a/shipment.py b/shipment.py index fa6f162611..ad29c3afec 100644 --- a/shipment.py +++ b/shipment.py @@ -2438,19 +2438,6 @@ class DeliveryNote(CompanyReport): 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) - report_context['product_name'] = lambda product_id, language: \ - cls.product_name(product_id, language) - return report_context - - @classmethod - def product_name(cls, product_id, language): - Product = Pool().get('product.product') - with Transaction().set_context(language=language): - return Product(product_id).rec_name - class ShipmentReport(CompanyReport): move_attribute = 'inventory_moves'