Skip to content
Browse files

[FIX] sale_stock: display picking in portal

When a picking is linked to a sale order, it is not displayed anymore
ont the user portal.

This comes from a fix in rev: 7825d00
that hides the shipping_adress div, which is the one targeted by the
xpath for shoing picking. To fix this behavior, we changed the xpath.

TASK-ID: 1939813
  • Loading branch information...
pimodoo committed Feb 20, 2019
1 parent e632e6c commit 00dbdfb61a91dafc46d5217021cf7820d4373097
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/sale_stock/views/sale_stock_portal_template.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<template id="sale_order_portal_content_inherit_sale_stock" name="Orders Shipping Followup" inherit_id="sale.sale_order_portal_content">
<xpath expr="//div[@id='shipping_address']" position="inside">
<xpath expr="//div[@id='informations']" position="inside">
<t t-if="sale_order.picking_ids">
<strong>Delivery Orders</strong>

0 comments on commit 00dbdfb

Please sign in to comment.
You can’t perform that action at this time.