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
|Asked: 12/30/15, 8:05 AM|
|Seen: 665 times|
|Last updated: 3/22/16, 6:33 AM|