.py
user = fields.Many2one('res.users', string='User', default=lambda self: self.env.uid)
.xml
<field name="user"/>
return current user who created transaction
here returns ( adminstrator)
but i need the current user department
need to be adminstration dep.
how do i get it ?