Skip to Content
Menu
This question has been flagged
1 Atsakyti
7974 Rodiniai

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

Portretas
Atmesti
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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
geg. 25
2687
0
rugp. 24
2488
0
bal. 24
2517
0
rugs. 23
1808
1
geg. 23
2898