Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
9651 มุมมอง

If I want to translate the Product Names of my Products in Sales > Products, I get the following error :

File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_translation.py", line 403, in translate_fields if f.translate:

AttributeError: 'Float' object has no attribute 'translate'

Languages that have been installed are EN, FR(BE) and NL(BE).

Anyone knows how I can correct this error ?

Thanks a lot !

อวตาร
ละทิ้ง

Did you somehow try to translate the value of a float field?

No, not at all. 
It's just a plain out-of-the-box Odoo 8 installation (no customization or additional modules...
It puzzled me as well that it was referring to a float field...
And I don't think you can do something wrong when loading a translation...

That sounds like a bug indeed. Please file this bug on the Odoo github repo.

Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ก.ค. 24
6472
2
ก.ค. 24
2156
How to override a module translation? แก้ไขแล้ว
4
มิ.ย. 24
24978
3
เม.ย. 24
2060
1
ก.พ. 24
2440