[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: https://github.com/odoo/odoo/commit/7825d008279702b3a5017196aa0345a0e48810c9
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

closes odoo/odoo#31267
This commit is contained in:
Pierre Masereel
2019-02-20 09:47:21 +00:00
parent d2b55ab607
commit 7d24d77511
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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">
<div>
<strong>Delivery Orders</strong>