跳至内容
菜单
此问题已终结
1 回复
7969 查看

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

形象
丢弃
最佳答案

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)

形象
丢弃
相关帖文 回复 查看 活动
1
5月 25
2681
0
8月 24
2483
0
4月 24
2504
0
9月 23
1802
1
5月 23
2893