onchange2() reads the origin record from database, and copies its field values in cache on the corresponding new records. The copied x2many fields must use NewId instead of their real id. Part-of: odoo/odoo#124612
onchange2() reads the origin record from database, and copies its field values in cache on the corresponding new records. The copied x2many fields must use NewId instead of their real id. Part-of: odoo/odoo#124612