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 am trying to use the feature of OpenERP that allow us to import data from .csv. I manage to do it manually, but now I want to be able to call the massive importation of elements from, let's say, a button.
Is there a way to call the importer of csv from code?
Thanks in advance!
What I Want is the following:
When you click in 'Importar' (spanish for import) in the button of the screen in the first image, you are redirected to the screen in the second image:
Import Button :
Massive import :
Is there a way to bypass the action and call the second screen directly from a client action like a button press?
I have been working on a tool to connect Google Spreadsheets to OpenERP's XMLRPC port. For standard jobs (like creating databases, installing modules, loading data, etc.) you only need to define what you want to do in a Google Spreadsheet. No Python or XMLRPC knowledge required.
The project is available for download from here (alpha stage still, mind you) : Google to OpenERP Data Pump
I'd be most grateful to anyone who would like to fool around with it and complain about all the stuff that's missing or poorly tested.
I have designed it so that it should be very, very easy to extend with any special functionality you might need; pull requests delightedly reviewed, of course. The
downside is -- not much in the way of protections -- the code is probably way more open than a true "plugin" architecture should be. The
upside is : it's only a few hundred lines of pretty obvious code. I've tried to document well too.
I hope to add a tutorial video about the pump to this channel sometime next week
Yes you could call the importer from code, but it is going to be easier to write a Python script that imports the data into the different objects. You might consider using a library like OERPLib
it will make your job of importing data into multiple classes much easier
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: 4/12/13, 10:07 AM|
|Seen: 1930 times|
|Last updated: 3/16/15, 8:10 AM|