summaryrefslogtreecommitdiff
path: root/addons/pos_epson_printer
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-09-16 14:35:57 +0000
committerPierre Masereel <pim@odoo.com>2019-10-01 10:02:49 +0000
commit69dc97c6986dbe363ed8c9cd1934cfd56cee8814 (patch)
treef0069843c84050b921c9a603fbbfbd58dedd4630 /addons/pos_epson_printer
parent72d5761730aac2eea461ea81527c8e2350a8a6a5 (diff)
[FIX] point_of_sale, pos_reprint: write duplicata on reprint
When a receipt is reprinted, the word 'DUPLICATA' is printed at the bottom of the receipt. We are also allowing to reprint ticket even if no printer is selected on the POS config as nothing prevent to do this. TASK-ID: 47990
Diffstat (limited to 'addons/pos_epson_printer')
-rw-r--r--addons/pos_epson_printer/views/pos_config_views.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/pos_epson_printer/views/pos_config_views.xml b/addons/pos_epson_printer/views/pos_config_views.xml
index 1fc547c4a39..3624f6df3bc 100644
--- a/addons/pos_epson_printer/views/pos_config_views.xml
+++ b/addons/pos_epson_printer/views/pos_config_views.xml
@@ -20,9 +20,6 @@
The Epson receipt printer will be used instead of the receipt printer connected to the IoT Box.
</div>
</xpath>
- <xpath expr="//div[hasclass('pos_reprint_receipt')]" position="attributes">
- <attribute name="attrs">{'invisible': [('iface_print_via_proxy','=',False), ('epson_printer_ip', 'in', [False, ''])]}</attribute>
- </xpath>
</field>
</record>
</odoo>