I have two models
class TestA(models.Model):
_name = 'test.A'
name = fields.Char(string='Material', required=True)
amount = fields.Float(string='Amount', required=True)
class TestB(models.Model):
_name = 'test.b'
name = fields.Char(string='Material', required=True)
I want to update the name field in test.b model with the value in name field in test.a
Thanks in advance