I have a field many2one relation to res.users like this : 'salesman':fields.many2one('res.users', string='Salesman').
I want default value it field is current user ID (current login) like Administrator, Custom User, etc. How to do it?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/22/14, 2:18 AM|
|Seen: 6695 times|
|Last updated: 4/21/15, 6:21 AM|