Unable to create asset with analytic_account and multiple companies
I have a database with two Companies: Company A and Company B.
I have created an analytic account root for Company A, but not for company B.
When I create an asset for Company A, there is no problem. But when I create an asset for Company B I get a domain validation error for the analytic accounts of the asset.
This is because the default analytic_accounts of AnalyticMixin creates analytic accounts for every root, without taking in account it's domain.