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:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
7959
Vues
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)
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mai 25
|
2671 | ||
|
0
août 24
|
2472 | ||
|
0
avr. 24
|
2481 | ||
|
0
sept. 23
|
1792 | ||
|
1
mai 23
|
2885 |