Help

0

How can I get the parent model field value in the creation of a child model field?

Avatar
Haris Masqati

Hello All,

Many2one field available in Purchase Order model which value is XYZ, and many2one field available in purchase order line model, how can i get Purchase Order value XYZ automatic into purchase order line?

Avatar
Discard
1 Answer
0
Avatar
Niyas Raphy
Best Answer

Hi,

You can pass the default value in the context of the one2many field.

Thanks

Avatar
Discard