Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
6057 Vues

Hi folk,

How do we translate the python constraint message when the user is using some other language and not English?

Avatar
Ignorer

You çan use _ function from openerp tool! _('str translatable')

Meilleure réponse

Hi Vivek,


You can differentiate current language based on context dictionary & by that way you can display your custom language constraint message.


Hope that helps! Please let me know if it still doesn't work.

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
juil. 15
5367
0
mars 25
1746
4
avr. 24
174743
0
déc. 23
2479
5
juil. 25
229756