CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is there a place that the community can document V7 data import requirements? I believe that Most companies converting to OpenERP have years of history that needs to be imported, yet everyone is encouraged to use the slow built-in import process.
As a community, could we not share the specifics of the object requirements for fully importing a company's history? 95+% would be the same for everyone. It could be laid out as Required/Optional.
I am very new to OpenERP, but I would be willing to contribute to the process.
I'm working on something that you may like to review as a possible foundation for your proposal.
The first basic idea is to have a growing library of Python plugins, such as ResUsers.py that understand :
- How to read data from a dedicated sheet in a Google Spreadsheet workbook (such as OpenErpGDataModel) )
- How to interact with the corresponding ORM model's API methods.
So far these "plugins" are dedicated to direct data loading, but that's just a consequence of the stage of development. Methods can be added to make them do anything that one can do, on a model, via XML-RPC.
The second basic idea is to have a dispatcher within a dispatcher, which get their instructions from a control sheet, such as this one : OpenErpGDataController, and loop through each method of each model.
Please let me know your opinion, and feel free to interrogate if you want further details.
If you read two bits of code you'll understand just how trivial the project is:
gDataTools.py the loop :
for row, task in enumerate(namesTasks):
OErpModel.py the loop :
for idx, parm in enumerate(self.task_parms):
About This Community
Odoo Training Center
|Asked: 4/25/13, 5:12 PM|
|Seen: 1633 times|
|Last updated: 11/29/16, 12:06 PM|