Using odoo new api the @api.onchange and @api.depends how can i update a field in a many2many , where the field is updated by another field not in the many2many ... i.e
class rates(model.Model):
_name = 'rates'
a = field.Integer(string = 'VALUE DEPENDED ON')
many2many = ----- that contains field c
which i need updated when a changes above
Sample code will highly help