From ff144679eb4139cbb291484ac096fc783e361c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Mac=20Rouillon?= Date: Fri, 11 Jun 2021 13:13:13 -0300 Subject: [PATCH] [13.0] [FIX] stock_request: Fix multi-company rule. The rule only apply for the user company not for the company that the user selected in the tab. This is old way, in v13 we use company_ids. --- stock_request/security/stock_request_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_request/security/stock_request_security.xml b/stock_request/security/stock_request_security.xml index 6c8a6d7bd..fd1bab2b1 100644 --- a/stock_request/security/stock_request_security.xml +++ b/stock_request/security/stock_request_security.xml @@ -78,7 +78,7 @@ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + >['|',('company_id','=',False), ('company_id', 'in', company_ids)] Follow Stock Request Order