Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] dynamic_accounts_report: general ledger filter showing error in other languages #333

Open
bigboss97lnt opened this issue Sep 24, 2024 · 0 comments

Comments

@bigboss97lnt
Copy link

bigboss97lnt commented Sep 24, 2024

How to repeat:

  • Open general ledger in language other than English
  • Try applying any filter

Error:
UncaughtPromiseError > TypeError وعد لم يتم رصده > Cannot set properties of null (setting 'value') TypeError: Cannot set properties of null (setting 'value') at Class.apply_filter (http://127.0.0.1:8069/web/assets/debug/web.assets_backend.js:217130:24) (/dynamic_accounts_report/static/src/js/general_ledger.js:409) at HTMLButtonElement. (http://127.0.0.1:8069/web/assets/debug/web.assets_common.js:73797:23) (/web/static/src/legacy/js/core/mixins.js:277) at HTMLDivElement.dispatch (http://127.0.0.1:8069/web/assets/debug/web.assets_common.js:27803:27) (/web/static/lib/jquery/jquery.js:5183) at elemData.handle (http://127.0.0.1:8069/web/assets/debug/web.assets_common.js:27611:28) (/web/static/lib/jquery/jquery.js:4991)

Reason:
A condition that doesn't show the 'journals' filter unless the title name matches the condition
/dynamic_accounts_report/static/src/xml/general_ledger_view.xml:166
Code:
<t t-if="title == 'General Ledger'">

triggering the error in /dynamic_accounts_report/static/src/js/general_ledger.js:409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant