mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[MIG][11.0] printer_zpl2
This commit is contained in:
committed by
mreficent
parent
88561fe7c8
commit
9a8b2e7af9
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2016 SYLEAM (<http://www.syleam.fr>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2016 SYLEAM (<http://www.syleam.fr>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
@@ -38,7 +37,6 @@ class PrintRecordLabel(models.TransientModel):
|
||||
|
||||
return values
|
||||
|
||||
@api.multi
|
||||
def print_label(self):
|
||||
""" Prints a label per selected record """
|
||||
record_model = self.env.context['active_model']
|
||||
|
||||
@@ -13,7 +13,10 @@
|
||||
<field name="printer_id"/>
|
||||
<field name="label_id"/>
|
||||
</group>
|
||||
<button string="Print Label" type="object" name="print_label"/>
|
||||
<footer>
|
||||
<button type="special" special="cancel" string="Cancel"/>
|
||||
<button string="Print label" type="object" name="print_label" class="oe_highlight"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user