Hi,
I'm trying to set a default value for the field create_uid in my python file. After research on the forum I found that the correct way to do this should be something like:
create_uid=fields.Many2one(default=lambda self: self.env.user)
I've tried different syntaxes but at best it returns "1" (since I'm the first user as administrator) but it should return "Administrator".
Thank you in advance for any help.