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

I put translate=True on field few months ago, and it was working fine, but just few days back the translation button disappered (settings->fields i can see that Translatable is checked), anyone know why is this:

Here is the code that I wrote:

 class ResPartner(models.Model):

_inherit = "res.partner"
name = fields.Char(translate=True)

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

If anyone still looking for an answer i found out that on the .xml file i had to put name field as invisible and it worked perfectly

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

When the translate attribute is set to true, it makes the field translatable. Depending on the user interface language, it can hold different values.

Please refer:-

https://www.odoo.com/forum/help-1/how-to-generate-translation-terms-for-field-values-translate-true-did-not-work-184809

Regards

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Bro, I had the same thing, I didn't know what to do while I was solving this problem, I used custom translations, and I want to tell you that it's not a bad thing. It takes the same amount of time as the translation I did myself, but I don't have to worry about it crashing and not responding, and I don't have to worry about them doing everything accurately. So try it and see how you like it.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 23
5002
2
thg 3 21
9158
1
thg 3 23
2892
1
thg 10 15
7866
3
thg 5 25
2032