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: