Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7959 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
mai 25
2671
0
août 24
2472
0
avr. 24
2481
0
sept. 23
1792
1
mai 23
2885