How I can make domain filter on many2one feilds like account_id field in purchase receipt based on user or group, i.e. if User1 open the form he can see only accounts of user_type "General Expenses" and if User2 open the form he can see accounts of type "expense" etc..
Logically it could be like : if user1: use domain1, if user2: use domain2 ....