Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to write data from Odoo in existing Excel file. How can I copy an existing Excel file and work on it (put data from odoo) but the Excel file shoul maintain the formats of cells.
NB: this is an Odoo/Python question, if any one have an answer please share it !!
we developed a module with a similar requirement. The module loads an excel file that is stored on the server, writes information in some sheets and finally stores the excel file in the odoo database. The user can download the file through the web client.
To achieve this, we use the openpyxl module: \openpyxl.
I'm not sure if all format properties of a cell are preserved, but at least the font, size, colour are not modified when you write in a cell.
I hope this few information can help you find a solution for your project.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/31/16, 5:48 AM|
|Seen: 555 times|
|Last updated: 11/23/16, 4:23 PM|