I created record from c# to odoo successfully one by one, but very slow process.
Now, I want to insert bulk record to Odoo by calling Odoo API ? if it's possible let me know How ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I created record from c# to odoo successfully one by one, but very slow process.
Now, I want to insert bulk record to Odoo by calling Odoo API ? if it's possible let me know How ?
Hi Ghanshyam,
To dealing with bulk data using ORM create isn't good practice at all, usual SQL query would give you fastest result.
Create one custom method inside write SQL query, call this method through API & pass values to be insert.
So you mean using Odoo API we can run query and insert data right ?
Please Sushma let me know how to run sql query using Odoo API. your help would be appreciated.
And you said for creating Custom Method inside, but i don't know where to need to create in Odoo ?
create any/custom method on odoo which would be having SQL query insert, and while calling this method through API, pass all insert values.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
May 21
|
1913 | ||
Odoo11 Community: Salary
Solved
|
|
1
Feb 19
|
1703 | |
|
0
Dec 18
|
2059 | ||
|
0
Jul 18
|
2342 | ||
|
1
May 18
|
3134 |