Skip to content
Snippets Groups Projects
Commit f8d4bf44 authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[IMP] account, l10n_xx: change CoA loading methods


Before, we only had a public method that installed
the CoA for the current active company.

With the multi-company changes, it was not
possible anymore to install a module with a
demo company and then have the CoA installed
in that demo company correctly.

We changed that public method to be able to
put an extra optional parameter and shortened
its name to try_loading instead of
try_loading_for_current_company.  The method that
it calls when there is no chart installed
is made private and renamed to _load.

closes odoo/odoo#35703

Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
parent 275dcfa4
No related branches found
No related tags found
No related merge requests found
Showing
with 31 additions and 33 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment