product_print_zpl_barcode: remove dependency on base_report_to_printer

We now print directly on the ZPL printer, without going through CUPS
This commit is contained in:
Alexis de Lattre
2024-01-30 17:00:56 +01:00
parent 0756beb8f5
commit a61d1458d8
8 changed files with 89 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ This module has been written by Alexis de Lattre from Akretion
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['sale_stock'],
'depends': ['sale_stock', 'base_view_inheritance_extension'],
'data': ['views/sale_order.xml'],
'installable': True,
}

View File

@@ -15,6 +15,11 @@
<field name="partner_shipping_id" position="after">
<field name="route_id" options="{'no_create_edit': True}"/>
</field>
<!-- propagate route_id to lines: it's important when you add an order line AFTER
order confirmation -->
<field name="order_line" position="attributes">
<attribute name="context" operation="python_dict" key="default_route_id">route_id</attribute>
</field>
</field>
</record>