Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi folk,
How do we translate the python constraint message when the user is using some other language and not English?
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.
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
1
6월 15
|
5820 | |||
|
0
3월 25
|
2293 | |||
|
4
4월 24
|
175748 | |||
|
0
12월 23
|
2934 | |||
|
5
7월 25
|
231982 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
You çan use _ function from openerp tool! _('str translatable')