使用 odoo new api @api.onchange 和 @api.depends 我如何更新 many2many 中的字段,其中该字段由不在 many2many 中的另一个字段更新...即
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
示例代码将非常有帮助