Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7971 Zobrazení

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šit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 25
2682
0
srp 24
2484
0
dub 24
2506
0
zář 23
1802
1
kvě 23
2893