How can I add automatically name of the current user to the record if user create a record (warehouse/products).
I can add:
'user_id': fields.many2one("res.users", "Created by", required=True,),
field but user needs to pick his name from list. I would like to be done automatically.
Without any user action.