Skip to Content
Menu
This question has been flagged
1 Odpoveď
7956 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
máj 25
2671
0
aug 24
2472
0
apr 24
2481
0
sep 23
1792
1
máj 23
2885