Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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',
})]
})
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up