Skip to content

Commit

Permalink
[FIX] Bad estructure
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadhoc committed Jul 5, 2023
1 parent e8136bd commit e9008fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion product_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Product UX',
'version': "16.0.1.0.0",
'version': "16.0.2.0.0",
'category': 'Products',
'sequence': 14,
'summary': '',
Expand Down
27 changes: 16 additions & 11 deletions product_ux/report/picking_templates.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?xml version="1.0"?>
<t t-name="stock.label_transfer_template_view_zpl">
<t t-foreach="docs" t-as="picking">
<t t-set="numero" t-value="0"/>
<t t-set="qty" t-value="picking.number_of_packages"/>
<t t-if="qty == 0">
<t t-set="qty" t-value="1"/>
</t>
<t t-foreach="range(qty)" t-as="item">
<t t-set="numero" t-value="numero + 1"/>
<t t-translation="off">
<odoo>
<data>
<template id="stock.label_transfer_template_view_zpl">
<t t-foreach="docs" t-as="picking">
<t t-set="numero" t-value="0"/>
<t t-set="qty" t-value="picking.number_of_packages"/>
<t t-if="qty == 0">
<t t-set="qty" t-value="1"/>
</t>
<t t-foreach="range(qty)" t-as="item">
<t t-set="numero" t-value="numero + 1"/>
<t t-translation="off">
^XA
<t t-if="picking.partner_id == True">
^CF0,60^CI28^FO50,50^FD
Expand Down Expand Up @@ -112,6 +114,9 @@ Fecha
<t t-esc="picking.date_done" t-options="{'widget': 'date'}"/>
^FS ^XZ
</t>
</t>

</t>
</t>
</template>
</data>
<odoo>

0 comments on commit e9008fe

Please sign in to comment.