diff --git a/delivery_note.odt b/delivery_note.odt new file mode 100644 index 0000000000..a80a6e5aa5 Binary files /dev/null and b/delivery_note.odt differ diff --git a/packing.py b/packing.py index 4089443aff..4350e987d3 100644 --- a/packing.py +++ b/packing.py @@ -1522,8 +1522,8 @@ class CreatePackingOutReturn(Wizard): CreatePackingOutReturn() -class PackingOutReport(CompanyReport): - _name = 'stock.packing.out' +class DeliveryNote(CompanyReport): + _name = 'stock.packing.out.delivery_note' def parse(self, cursor, user, report, objects, datas, context): if context is None: @@ -1532,7 +1532,7 @@ class PackingOutReport(CompanyReport): context['product_name'] = lambda product_id, language: \ self.product_name(cursor, user, product_id, language, context) - return super(PackingOutReport, self).parse(cursor, user, report, + return super(DeliveryNote, self).parse(cursor, user, report, objects, datas, context) def product_name(self, cursor, user, product_id, language, context): diff --git a/packing.xml b/packing.xml index 0f1f8409b7..65391680eb 100644 --- a/packing.xml +++ b/packing.xml @@ -1015,18 +1015,18 @@ this repository contains the full copyright notices and license terms. --> - - Customer Shipment + + Delivery Note stock.packing.out - stock.packing.out - stock/packing_out.odt + stock.packing.out.delivery_note + stock/delivery_note.odt company/header_A4.odt + id="report_packing_out_delivery_note_keyword"> form_print stock.packing.out,0 - + diff --git a/packing_out.odt b/packing_out.odt deleted file mode 100644 index 118722a52c..0000000000 Binary files a/packing_out.odt and /dev/null differ