From dbf6be930b92e2d1ff9c925dec44473c524f59de Mon Sep 17 00:00:00 2001 From: Juan Ignacio Carreras Date: Thu, 1 Aug 2024 13:51:23 +0000 Subject: [PATCH] [ADD]stock_ux: zpl global function X-original-commit: 695fd641ab5a66b2813b7f75fc50c4a5d0c8bb75 --- stock_ux/__manifest__.py | 1 + stock_ux/report/ir.action.reports.xml | 8 +-- stock_ux/report/picking_templates.xml | 22 +++---- stock_ux/security/ir.model.access.csv | 1 + stock_ux/views/report_deliveryslip.xml | 11 ---- stock_ux/views/stock_move_line_views.xml | 37 +++--------- stock_ux/views/stock_move_views.xml | 9 --- stock_ux/views/stock_picking_views.xml | 13 +++++ stock_ux/wizards/__init__.py | 2 + stock_ux/wizards/stock_label_type.py | 53 +++++++++++++++++ stock_ux/wizards/stock_picking_wizard.py | 29 ++++++++-- .../wizards/stock_picking_wizard_views.xml | 57 +++++++++++++------ 12 files changed, 152 insertions(+), 91 deletions(-) create mode 100644 stock_ux/wizards/stock_label_type.py diff --git a/stock_ux/__manifest__.py b/stock_ux/__manifest__.py index 25c8befeb..085729824 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 7ab30dd77..0becce081 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 + product.label.layout qweb-pdf stock_ux.custom_label_transfer_template_view_pdf @@ -38,14 +38,14 @@ - + Etiquetas de Productos del picking (ZPL) - stock.picking - + product.label.layout qweb-text stock_ux.custom_barcode_transfer_template_view_zpl stock_ux.custom_barcode_transfer_template_view_zpl report + diff --git a/stock_ux/report/picking_templates.xml b/stock_ux/report/picking_templates.xml index 5dfbdef4f..c8458553c 100644 --- a/stock_ux/report/picking_templates.xml +++ b/stock_ux/report/picking_templates.xml @@ -142,7 +142,7 @@ Fecha