Hi,
I am trying to print invoices into an excel sheet report. When a user has selected more than one company, I would like to print out all the records from these companies.
This is the code I am using to the active company:
active_company = self.env.company
This always returns one company even when more than one company is selected. How can I get a list of all the selected companies in odoo 13 to use that for filtering invoices
Thanks in advance for you assistance.
How can I list the currently selected companies