Export / Import bugs and inconsistencies [dev-6.0rc1]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
1) Export of column headers in compatible mode cannot be imported.
2) New imported resource create duplicate default values in Configuration Parameters.
Eg 1:
When exporting Product Categories in compatible mode:
Column headers are:
type db_id id name parent_id sequence
normal 1 product.cat0 All products 0
-> These cannot be used when importing new records.
Column headers need to be adjusted to:
type ID Name Parent Category/ID sequence
normal c2 Sellable product.cat0 0
-> parent_id has to be changed to Parent Category/ID
This makes it very difficult to export and import data correctly.
Eg 2:
When importing new records, new default values for the specific record are created in Configuration Parameters.
when importing the above record, 3 new default records with a specific resource All Products - Sellabe are created.
property_
property_
property_
This gives rise to large lists of Configuration Parameters when importing products.
Configuration Parameters list can be in the 1000's for just 300 imported products.
Please can you verify that this is indeed a bug or whether I am missing something.
[dev-6.0rc1] ubuntu 9.10 desktop revision 2979
thanks.
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | Invalid → Confirmed |
Hello Michael,
I guess you might have missed something.
This is what we followed to justify your post:
1. Export these fields of categories: type db_id id name parent_id sequence
--- Here we got all the categories with first row type db_id id name parent_id sequence(as it was import compatible, you get column names of db, not labels line Name,Type,Parent Category,etc.)
2. Imported 2 records:
--- I modified the same file,I removed all except 2 records, I modified one and added another.
After the completion, I saw my existing category modified and new category added as expected.
Note: Make sure you do not supply DB_ID or ID to new records to be added.
Hope this helps.
Let me know if this still does not occur at your end.
Thanks.