跳至内容
菜单
此问题已终结
1 回复
3254 查看

I am working on an odoo project that is in arabic. I have noticed that any custom  css class  that  i  inculde  in  qweb  template  has  its  direction  property  overwritten  to  rtl  not  matter  if  i  force  it  to  ltr  by  adding  !important. 

Do anybody has an idea on how odoo deal with RTL? it seams that there is a function that overwrittes all direction properties but i dont know which. version 14

形象
丢弃
编写者 最佳答案

I found the solution. It is not an odoo problem but a rtlcss one. need to add /*rtl:ignore*/ just after the property definition.

\https://rtlcss.com/learn/usage-guide/control-directives/

形象
丢弃