From 0c50f6cd55d1780d01996ced6b219ae9535abced Mon Sep 17 00:00:00 2001 From: Florent de Labarre Date: Mon, 19 Mar 2018 19:44:32 +0100 Subject: [PATCH] [FIX] extra is not pass --- printer_zpl2/__manifest__.py | 2 +- printer_zpl2/models/printing_label_zpl2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/printer_zpl2/__manifest__.py b/printer_zpl2/__manifest__.py index 92b81d1..c59af56 100644 --- a/printer_zpl2/__manifest__.py +++ b/printer_zpl2/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Printer ZPL II', - 'version': '10.0.1.1.1', + 'version': '10.0.1.1.2', 'category': 'Printer', 'author': 'SYLEAM, Odoo Community Association (OCA)', 'website': 'http://www.syleam.fr/', diff --git a/printer_zpl2/models/printing_label_zpl2.py b/printer_zpl2/models/printing_label_zpl2.py index 760c72f..030e296 100644 --- a/printer_zpl2/models/printing_label_zpl2.py +++ b/printer_zpl2/models/printing_label_zpl2.py @@ -168,7 +168,7 @@ class PrintingLabelZpl2(models.Model): self._generate_zpl2_components_data( label_data, record, page_number=page_number, - page_count=page_count) + page_count=page_count, **extra) # Restore printer's configuration and end the label if self.restore_saved_config: