Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have created name field in custom module in one class - 'name': fields.char('Name', translate=True, select=True),
And added it's related field to other class as -'sub_name': fields.related('name','name', type='char', string='Sub Name', store=True),
I am calling 'sub_name' field on my custom report and added translation for this from .po file.But it is not getting translated.Is it correct way to add translation for related field?
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/30/15, 8:05 AM|
|Seen: 704 times|
|Last updated: 3/22/16, 6:33 AM|