In Odoo if you are member of any accounting group, you can access both AR and AP records
Using groups in menus can separate access, but this can easily be bypassed by bookmarking the URL like "http://odoo16/web#action=249&model=account.payment&view_type=list&cids=1"
Is there a more secure way of preventing access? I'm thinking of a custom search function. But is there a better way?