diff --git a/stock_request/__manifest__.py b/stock_request/__manifest__.py
index 7f749c1c4..ac1bd6a40 100644
--- a/stock_request/__manifest__.py
+++ b/stock_request/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Stock Request",
"summary": "Internal request for stock",
- "version": "14.0.1.2.0",
+ "version": "14.0.1.3.0",
"license": "LGPL-3",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"author": "ForgeFlow, Odoo Community Association (OCA)",
diff --git a/stock_request/migrations/14.0.1.3.0/noupdate_changes.xml b/stock_request/migrations/14.0.1.3.0/noupdate_changes.xml
new file mode 100644
index 000000000..165527ddb
--- /dev/null
+++ b/stock_request/migrations/14.0.1.3.0/noupdate_changes.xml
@@ -0,0 +1,14 @@
+
+
+
+ stock_request multi-company
+ ['|',('company_id','=',False),('company_id', 'in', company_ids)]
+
+
+ ['|',('company_id','=',False),('company_id', 'in', company_ids)]
+
+
diff --git a/stock_request/migrations/14.0.1.3.0/post-migration.py b/stock_request/migrations/14.0.1.3.0/post-migration.py
new file mode 100644
index 000000000..936f1582f
--- /dev/null
+++ b/stock_request/migrations/14.0.1.3.0/post-migration.py
@@ -0,0 +1,10 @@
+# Copyright 2023 Tecnativa - Pedro M. Baeza
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
+from openupgradelib import openupgrade
+
+
+@openupgrade.migrate()
+def migrate(env, version):
+ openupgrade.load_data(
+ env.cr, "stock_request", "migrations/14.0.1.3.0/noupdate_changes.xml"
+ )
diff --git a/stock_request/security/stock_request_security.xml b/stock_request/security/stock_request_security.xml
index 6c0796b4a..ce247ff8c 100644
--- a/stock_request/security/stock_request_security.xml
+++ b/stock_request/security/stock_request_security.xml
@@ -40,7 +40,7 @@
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
+ >['|',('company_id','=',False),('company_id', 'in', company_ids)]
Follow Stock Request
@@ -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