Before this commit, you could search `account.tax.repartition.line` and get records from all the existing companies, which is not supposed to happen. It should only return records of the `active_company_ids`. That was because there were no `ir.rule` preventing that. This fixes the issue. closes odoo/odoo#115973 X-original-commit: 3e850ba9e27ac487d1f300f3ffc4ed2578e76f2f Related: odoo/enterprise#38472 Signed-off-by: Olivier Colson (oco) <oco@odoo.com> Signed-off-by: John Laterre (jol) <jol@odoo.com>