How to get current user name into field ?(Problem Solved)
I have to try to get current user login id in my filed.
My python code below :
user_id = fields.Many2one('res.users', string='My User',default=lambda self: self.env.user)
But i am facing a problem when i am change login user than it's not reflected into my field so what i can do any one suggest any solution.