Odoo Help

0
kirubanidhi
On 7/5/16, 1:38 AM

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',

})]

})

0
Jagdish Panchal
On 6/17/16, 7:00 AM

Hello,


Refer this link may help you link

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/17/16, 5:04 AM
Seen: 564 times
Last updated: 7/5/16, 1:38 AM