Exports are very quickly unreadable and not understandable.
In my export I see a lot of these data in the uom and in the categories. Even if the categories are the same the data in the categories is not the same.
Is there a method to export products with usefull data in categories and uom?
Thanks to the Answer of Martin H. Bramwell and the comment of Ray Carnes I tested different things and found out what to do. I hope you both don't feel I steel your answer. I only try to explain what to do in small steps and what happens in my own words.
The method to get rid of __export__.product_product_19_26 and that kind of things in the export:
- Inspect your export.
- If you have this kind of rubbish in your export check the column name.
- Often this will be category id or oum id or others or both or more.
For each of these you or your user has made new categories, uom, or other. For reasons I do not understand the database is not ready for export and produces rubbisch in your export.
Make an export of the above found categories, uom or other. If you do for some reason I do not understand the database is made ready for usefull export.
Export again and be happy!
In my tested case the rubbisch has been changed in logical data:
- Data in uom_id/id was changed in __export__.product_uom_10 /11/12 etc which was not unique and corresponding with the data in the other exported records.
- Data in uom_po_id/id has been changed in __export__.product_uom_10 /11/12 .
- Data in categ_id/id has been changed in __export__.product_category_19 /etc..
This is great and for me this is a breaktrough in the problem of export / import!
Does this answer help :
If you want more meaningful record identifiers you will have to create them with SQL commands directly in the database in the
When exporting OpenERP looks in that table for an alternate key name. If it does not find one it generates an ugly one, like
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/7/13, 4:23 PM|
|Seen: 2525 times|
|Last updated: 3/16/15, 8:10 AM|