export_data on product_product : too external_ids(ir.model.data) generated?

Bug #1096172 reported by Romain Deheele - Camptocamp
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hello,
with : server 4327 & addons 7121

First, I have configured a new product named "Test product"

I try to export this product with next fields:
- Product Template
- Name

I have this result:
"id","product_tmpl_id/id","name"
"__export__.product_product_50","__export__.product_product_50_1","Test product"

If i retry, i have this:
"id","product_tmpl_id/id","name"
"__export__.product_product_50","__export__.product_product_50_2","Test product"

etc...

Is it normal to have at every turn a different external id for the template?
This behavior creates unlimited ir.model.data records.

Thanks for your return,

Romain

Related branches

summary: - ir.model.data : too external_ids generated
+ ir.model.data : too external_ids generated?
summary: - ir.model.data : too external_ids generated?
+ export_data on product_product : too external_ids(ir.model.data)
+ generated?
description: updated
Revision history for this message
Craig Gowing (credativ) (craiggowing) wrote :

This problem also seems to prevent importing as well with this external id on product template.
The problem seems to be related to creating a new external id in ir.model.data for a many2one field.
When creating it, the ir.model.data model and name will be taken from self... and exporting product self is 'product.product' not 'product.template'.

Thanks,
Craig

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello moniarh ,

I have checked this issue with latest trunk , currently if I export same product
twice then both have a same template_id , So would you please try with latest
code and provide more information regarding this issue.

Thanks and waiting for reply!

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Server because there has been no activity for 60 days.]

Changed in openobject-server:
status: Incomplete → Expired
Amit Parik (amit-parik)
Changed in openobject-server:
status: Expired → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.