From 40c2ae4053e05fca9cd4105db26e3032291de658 Mon Sep 17 00:00:00 2001 From: "Touati Djamel (otd)" Date: Mon, 11 Apr 2022 14:01:08 +0000 Subject: [PATCH] [FIX] sale_stock: display only outgoing transfers to portal users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce the bug: - Create a storable product with routes: MTO + Buy - Create a Portal user “pu1” - Create a SO > select the “pu1” as customer - Validate and confirm the created PO - Connect as “pu1”: - Go to the sales order view: Problem: The client can see outgoing and receipt(PO picking) transfers, this is a problem because then the customer can see information from the vendor Solution: A portal user should only see outgoing type transfers in the sale order view opw-2816719 closes odoo/odoo#89285 X-original-commit: 91cfdf997dd210f2cbc684674745ab0b251088d2 Signed-off-by: Arnold Moyaux Signed-off-by: Djamel Touati (otd) --- addons/sale_stock/views/sale_stock_portal_template.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_stock/views/sale_stock_portal_template.xml b/addons/sale_stock/views/sale_stock_portal_template.xml index 775de492d19..e3e0c5ca97b 100644 --- a/addons/sale_stock/views/sale_stock_portal_template.xml +++ b/addons/sale_stock/views/sale_stock_portal_template.xml @@ -14,7 +14,7 @@ Delivery Orders
- +