Before this commit, business logic was mixed with tests. This commit aims to replace the test_mode with mocks for all account_edi tests. closes odoo/odoo#71650 Related: odoo/enterprise#18709 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>