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