'How to hide message popup if page have record rule don't have records odoo 15

If i go to a page such as "Manufaturing", and this page have record rules, then if that page have records but not showing out because of record rule, it will show this message, how to prevent this to happen?

I've try to create a new record which is not affected by record rule, and the message is gone, and everything is back to normal, but i want this message not showing even if there's no records.

enter image description here

Is this possible?

Thanks.



Solution 1:[1]

Even though you don't see the message suggests there are records. And since there are records the rules apply. You need to check the rules that are suggested in the message box and set the security rules accordingly. You need to check multi-company rules as it suggests.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kingofsevens