From d13ecef056f29ee7028587937a0fb043c49e0b1c Mon Sep 17 00:00:00 2001 From: Juan Ignacio Carreras Date: Thu, 1 Aug 2024 10:51:23 -0300 Subject: [PATCH] [ADD]stock_ux: zpl global function --- stock_ux/__manifest__.py | 1 + stock_ux/report/ir.action.reports.xml | 18 ++++++++++--- stock_ux/report/picking_templates.xml | 21 ++++++++------- stock_ux/security/ir.model.access.csv | 2 ++ stock_ux/views/stock_picking_views.xml | 23 ++++++++++++++++ stock_ux/wizards/__init__.py | 2 ++ stock_ux/wizards/stock_picking_wizard.py | 26 +++++++++++++++---- .../wizards/stock_picking_wizard_views.xml | 8 +++--- 8 files changed, 81 insertions(+), 20 deletions(-) diff --git a/stock_ux/__manifest__.py b/stock_ux/__manifest__.py index ab4ffabe..8dbedcaa 100644 --- a/stock_ux/__manifest__.py +++ b/stock_ux/__manifest__.py @@ -35,6 +35,7 @@ 'security/ir.model.access.csv', 'views/product_template_views.xml', 'views/product_product_views.xml', + 'wizards/stock_picking_wizard_views.xml', 'views/stock_picking_views.xml', 'views/stock_move_views.xml', 'views/stock_move_line_views.xml', diff --git a/stock_ux/report/ir.action.reports.xml b/stock_ux/report/ir.action.reports.xml index 7ab30dd7..4a37404f 100644 --- a/stock_ux/report/ir.action.reports.xml +++ b/stock_ux/report/ir.action.reports.xml @@ -29,7 +29,7 @@ Etiqueta de despacho (PDF) - stock.picking + stock.picking.zpl qweb-pdf stock_ux.custom_label_transfer_template_view_pdf @@ -38,14 +38,26 @@ - + Etiquetas de Productos del picking (ZPL) - stock.picking + stock.picking.zpl qweb-text stock_ux.custom_barcode_transfer_template_view_zpl stock_ux.custom_barcode_transfer_template_view_zpl report + + + Etiquetas zpl global + stock.picking.zpl + + qweb-text + stock_ux.custom_label_transfer_template_view_zpl + stock_ux.custom_label_transfer_template_view_zpl + report + + + diff --git a/stock_ux/report/picking_templates.xml b/stock_ux/report/picking_templates.xml index 5dfbdef4..4c5c9ecd 100644 --- a/stock_ux/report/picking_templates.xml +++ b/stock_ux/report/picking_templates.xml @@ -142,7 +142,7 @@ Fecha