I want to write a module in which you can upload an excel file, after uploading some of the sale order records should be updated based on excel file content. How can I achieve this using odoo import excel option?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
I achieved this by extending ListView.buttons template and writing its specific js file and python import function.
Create a custom model tailored to the excel file you want to upload, so you can upload it just using the standard odoo import function. Then you can write a method to be called from a menu action or a button that will process the imported lines and flag them as done or delete them.
Otherwise you have to make a model where you can upload the excel file as a binary attachment, and then elaborate it manually using a python excel library.
can you be more specific about using standard odoo import?
can you be more specific about using standard odoo import?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
3
de nov. 23
|
7041 | ||
|
3
de nov. 20
|
4692 | ||
|
0
de set. 24
|
718 | ||
|
3
de jul. 16
|
4979 | ||
|
4
de nov. 24
|
10379 |