How can i use fields.related(),fields.property(), and _track in Odoo .
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
This question has been flagged
1
Reply
2386
Views
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