Skip to Content
Menu
This question has been flagged
1222 Views

I created a custom field in Contacts called is_vip, it's a boolean field. I want to filter the records from the accounting application to not show the records if the user doesn't have the access rights for that record. I tried using [('partner_id.x_studio_is_vip', '=', 'False')] to filter out the records for those that doesn't have access to it. It works on payments and also on contacts but somehow the bills and invoices doesn't work. I'm wondering why does it not work, I use the same domain filter in both account.payments and account.move but the one on move doesn't seem to work. 

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
1414
4
Feb 24
5388
1
Nov 22
2334
2
Jun 25
2361
1
Mar 25
2030