Merge pull request #139 from fmdl/patch-1

[FIX] printer_zpl2 : extra is not passed
This commit is contained in:
Pedro M. Baeza
2018-04-04 00:06:30 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
{ {
'name': 'Printer ZPL II', 'name': 'Printer ZPL II',
'version': '10.0.1.1.1', 'version': '10.0.1.1.2',
'category': 'Printer', 'category': 'Printer',
'author': 'SYLEAM, Odoo Community Association (OCA)', 'author': 'SYLEAM, Odoo Community Association (OCA)',
'website': 'http://www.syleam.fr/', 'website': 'http://www.syleam.fr/',

View File

@@ -168,7 +168,7 @@ class PrintingLabelZpl2(models.Model):
self._generate_zpl2_components_data( self._generate_zpl2_components_data(
label_data, record, page_number=page_number, label_data, record, page_number=page_number,
page_count=page_count) page_count=page_count, **extra)
# Restore printer's configuration and end the label # Restore printer's configuration and end the label
if self.restore_saved_config: if self.restore_saved_config: