I want to change some fields label using _get_view() method. But it should be based on @api.onchange. when i try to add api.onchange decorator then this error showing
if res.get('value'):
AttributeError: 'str' object has no attribute 'get'
Is there any solution for this ?