Error when opening email list with many companies
When opening the view Admin > Model > E-mails, I have an `User in companies` error.
I believe this happens because from that view I can see all the emails sent from any company (I've seen `ir.email` doesn't have company field) and when the `resource` field is trying to read an invoice (in my case, might happen with other models) from another company it raises the error.
Maybe it can be solved with a domain for that view, but for the moment we're working with the Invoice related to email archive or setting company preferences to all companies.
issue