Stock Entry User Permissions issue

Hi,

I want to apply warehouse wise permissions on stock entry, as stock entry have 2 warehouse fields target and source, when i am applying permissions, its checking if both warehouses are matched or not, which is incorrect, it should be like if one of warehouse matches, it should show the stock entry.

I haven’t found any builtin solution for this, can anybody please tell me how to customize list view permissions for stock entry? i need to implement OR condition in it instead of AND.
if any of warehouse in user permissions exist in stock entry, it should show to the user.

I can not under stand your case could you give example to be clair