Odoo / pycharm debugger tips :
run a for loop in debugger console
[x.name for x in ids] - if you have a collection of idsoutput two attributes
[x.id, x.name for x in ids]get context - self.env.context
get allowed company ids - self.env.context.get('allowed_company_ids')
get current active company - self.env.user.company_id