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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
7961
瀏覽次數
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
|
2672 | ||
|
0
8月 24
|
2472 | ||
|
0
4月 24
|
2485 | ||
|
0
9月 23
|
1795 | ||
|
1
5月 23
|
2886 |