Converted account report old to new api

Hello

I have converted postgres report old to new API.

thanks.
Use:
user_currency_id = self.env.user.company_id.currency_id.id
Instead Of:
user_currency_id = self.env['res.users'].browse(uid).company_id.currency_id.id