Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
7980 Prikazi

I wanna insert a lot of record in on time like insert command of sql I wanna ask how to do this in ORM methods. Thank you

Avatar
Opusti
Best Answer

You have to use create() method for insert a lots of record. ORM Method : create(cr, uid, values, context=None)

Example : help_no = self.create(cr, uid,{ 'name': 'openerp', 'location' : 'india', 'id': 10,}, context=context)

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
maj 25
2688
0
avg. 24
2490
0
apr. 24
2518
0
sep. 23
1809
1
maj 23
2902