diff options
| author | Josse Colpaert <jco@odoo.com> | 2019-08-13 19:13:11 +0000 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2019-08-14 08:42:27 +0000 |
| commit | f8d4bf4499e1e21cbce853c3a5f78fe5574abe6c (patch) | |
| tree | bf129e1c6dbaf965aeedd3409b702903c1db4a5c /addons/l10n_lu | |
| parent | 275dcfa41285e03b8ce6611277867101bebc6af3 (diff) | |
[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: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/l10n_lu')
| -rw-r--r-- | addons/l10n_lu/data/account_chart_template_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_lu/data/account_chart_template_data.xml b/addons/l10n_lu/data/account_chart_template_data.xml index 19a25539e32..cccc1bbb267 100644 --- a/addons/l10n_lu/data/account_chart_template_data.xml +++ b/addons/l10n_lu/data/account_chart_template_data.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <odoo> <data noupdate="1"> - <function model="account.chart.template" name="try_loading_for_current_company"> + <function model="account.chart.template" name="try_loading"> <value eval="[ref('l10n_lu.lu_2011_chart_1')]"/> </function> </data> |
