summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2017-10-09 10:03:14 +0200
committerPierre Masereel <pim@odoo.com>2017-10-09 10:26:34 +0200
commite7e37c70e7b71adf6bf51a54202a262b4a2ce68d (patch)
tree68d525d7ff7d90e6c68131f0d510cf769f0a83c2 /addons
parentc23ef9a9b6e2c7a43b3f98bdbd85e6c7b2b0ba74 (diff)
[FIX] l10n_in_stock: wrong xpath
The xpath references a span that doesn't exist anymore since https://github.com/odoo/odoo/commit/ddf2b21bdf38492ce075d4ae96bb9323c6ef59dd It has been introduce in https://github.com/odoo/odoo/commit/2b3c8e6ca9777f6264ecb3d1510dd292ed30ab9f
Diffstat (limited to 'addons')
-rw-r--r--addons/l10n_in_stock/views/report_stockpicking_operations.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_in_stock/views/report_stockpicking_operations.xml b/addons/l10n_in_stock/views/report_stockpicking_operations.xml
index 334fc0a017e..70d9fdbc1f4 100644
--- a/addons/l10n_in_stock/views/report_stockpicking_operations.xml
+++ b/addons/l10n_in_stock/views/report_stockpicking_operations.xml
@@ -2,8 +2,8 @@
<odoo>
<template id="gst_report_picking_inherit" inherit_id="stock.report_picking">
- <xpath expr="//span[@t-field='pack_operation.product_id.description_picking']" position="after">
- <t t-if="pack_operation.product_id and pack_operation.product_id.l10n_in_hsn_code and o.company_id.country_id.code == 'IN'"><h6><strong class="ml16">HSN/SAC Code:</strong> <span t-field="pack_operation.product_id.l10n_in_hsn_code"/></h6></t>
+ <xpath expr="//span[@t-field='move.product_id.description_picking']" position="after">
+ <t t-if="move.product_id and move.product_id.l10n_in_hsn_code and o.company_id.country_id.code == 'IN'"><h6><strong class="ml16">HSN/SAC Code:</strong> <span t-field="move.product_id.l10n_in_hsn_code"/></h6></t>
</xpath>
</template>