diff --git a/account_check_deposit/security/check_deposit_security.xml b/account_check_deposit/security/check_deposit_security.xml
index 1051eb453..bf54fa2f7 100644
--- a/account_check_deposit/security/check_deposit_security.xml
+++ b/account_check_deposit/security/check_deposit_security.xml
@@ -9,7 +9,7 @@
Check Deposit multi-company
- ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]
+ ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]