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 import excel file in openerp how to ?
I have binary field where I have save excel file. now button click I want to import data from excel to field which in my form view.
I need to parse excel and convert to dict then will do write.
but any good feature with in openerp?
You can define on_cnange method, what would process uploaded file.
<field name="excelfile" on_change="on_file_load(excelfile)"/>
You need to write parsing method in your *.py file
def on_file_load(self, cr, uid, ids, excelfile, context=None): #do_something
In this case file would be parsed before you save object.
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: 5/30/13, 9:38 AM|
|Seen: 4189 times|
|Last updated: 3/16/15, 8:10 AM|