1.'inventor_country_id': fields.related('inventor_id','country',readonly=True, type='many2one',relation='res.country', string='Country'),
i used this when i had to send data from function to the view page. i set a related field and returned the value in the field from function and displayed in the view
3.track_visibility='onchange' this will track the changes happening to the field in the oe_chatter fieds
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: 3/24/15, 7:21 AM|
|Seen: 483 times|
|Last updated: 3/25/15, 1:55 AM|