-
- Downloads
[FIX] account, web : display monetary and numbers in rtl language
Issue: ====== - Display of monetary values in kanban views is wrong in rtl language - Pivot display has multiple erros in rtl language: values are left aligned and they are supposed to be right aligned like in ltr lang, negative numbers has the sign in the wrong place, the (plus/minus) icon placement is wrong (it should be before the title and not after) Steps to reproduce the error: ============================= - Install accounting and rlt language (arabic for example) - Go to accounting (display of monetary fields is wrong) - Go to accounting/accounting/journal items/pivot view - Choose residual amount in view (it has some negative values) Solution: ========= Kanban Solution: - I fixed the direction of the display to be ltr always for monetary values and added the class to the appropriate tags. Pivot Solution: - I fixed the direction and text-align style for the values to always display the same like rtl. - displaying the icon and then the title will always give the desired display since the direction will reverse their order itself when it's rtl enterprise fix : https://github.com/odoo/enterprise/pull/46675 opw-3295573 closes odoo/odoo#132843 Related: odoo/enterprise#46675 Signed-off-by:de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
Showing
- addons/account/views/account_journal_dashboard_view.xml 8 additions, 8 deletionsaddons/account/views/account_journal_dashboard_view.xml
- addons/web/static/src/views/kanban/kanban_controller.scss 9 additions, 0 deletionsaddons/web/static/src/views/kanban/kanban_controller.scss
- addons/web/static/src/views/pivot/pivot_renderer.xml 2 additions, 3 deletionsaddons/web/static/src/views/pivot/pivot_renderer.xml
- addons/web/static/src/views/pivot/pivot_view.scss 7 additions, 0 deletionsaddons/web/static/src/views/pivot/pivot_view.scss
Loading
Please register or sign in to comment