Odoo Help


Problem translating Product Names | AttributeError: 'Float' object has no attribute 'translate'

Eric Geens
on 12/7/14, 6:03 PM 1,814 views

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?

on 12/8/14, 3:01 AM
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...
Vadis S.A., Eric Geens
on 12/8/14, 3:39 AM

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

21south, Ludo - 21South
on 12/8/14, 6:19 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 12/7/14, 6:03 PM
Seen: 1814 times
Last updated: 3/16/15, 8:10 AM