Skip to Content
Menu
This question has been flagged
2 Replies
2425 Views
Author Best Answer

i did solved my problem.Thanks 

@api.multi

def Create_One2many_method(self):

search_var = self.browse(self.id)

search_var.write({

'stud_ids': [(0,0, {

'reg_no':4200,

'dob': '04/01/1992',

'stud_fname':'anbu',

'stud_lname': 'mathan',

'stud_name':'anbumathan',

'stud_email':'anbulove@gmail.com',

'stud_phone':'9788987689',

'stud_age': 24,

'op_stud_id':'mca',

})]

})

Avatar
Discard
Best Answer

Hello,


Refer this link may help you link

Avatar
Discard