Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
6660 Lượt xem

Hi everybody,

I have a field that gets a string from a SQL Queries

     v = {}
    cr.execute('select distinct name from product_desc where id = '1'')
    res = cr.fetchall()     
    v['my_field'] = res[0]

The field product_desc.name is a translate one (translate = true)

But the problem is my v['my_field'] is only in English and not in another language. If possible I would like to have my term in the language of my sale_order (the v['my_field'] is in sale.py)

Someone has an idea please?

Thanks a lot,

Selverine

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4595
1
thg 3 25
1514
2
thg 3 23
5033
1
thg 11 22
5629
2
thg 3 22
2473