تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7962 أدوات العرض

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
مايو 25
2672
0
أغسطس 24
2472
0
أبريل 24
2485
0
سبتمبر 23
1795
1
مايو 23
2886