Odoo Help

Welcome!

This community 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.

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

--Jagdish Panchal--
2674
| 5 3 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

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

Hello,


Refer this link may help you link

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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