Odoo Help

Welcome!

This community 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.

0

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

By
Eric Geens
on 12/7/14, 6:03 PM 1,040 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?

Ivan
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.

Ludo - Neobis
on 12/8/14, 6:19 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)

Stats

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