Can not generate dunning for other companies
When running generate dunning in multi-company environment, dunning for all the accessible companies are generated. But if the dunning created is not from the current user company, a domain error is raised because the dunning has the default company set instead of the company from the line.