diff options
| author | Martin Trigaux <mat@odoo.com> | 2021-02-25 12:38:51 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2021-02-25 15:44:43 +0100 |
| commit | ac4f3a88d2a97f1fb64d5924025dce3ffe54ab82 (patch) | |
| tree | 7f3b799e0f6ecab04af3b4c62592c8b683e7c82f /addons/account/static/src/js/account_selection.js | |
| parent | cce95b85a4aebb4316c0ca28d038a346e4b0ba8a (diff) | |
[FIX] account: translate "Balance Sheet" selection
Was using the wrong method to translate
Diffstat (limited to 'addons/account/static/src/js/account_selection.js')
| -rw-r--r-- | addons/account/static/src/js/account_selection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/static/src/js/account_selection.js b/addons/account/static/src/js/account_selection.js index d098505b593..feee1c178e9 100644 --- a/addons/account/static/src/js/account_selection.js +++ b/addons/account/static/src/js/account_selection.js @@ -27,7 +27,7 @@ odoo.define('account.hierarchy.selection', function (require) { self.values = _.map(arg, v => [v['id'], v['display_name']]) self.hierarchy_groups = [ { - 'name': _('Balance Sheet'), + 'name': _t('Balance Sheet'), 'children': [ {'name': _t('Assets'), 'ids': _.map(_.filter(arg, v => v['internal_group'] == 'asset'), v => v['id'])}, {'name': _t('Liabilities'), 'ids': _.map(_.filter(arg, v => v['internal_group'] == 'liability'), v => v['id'])}, |
