← Back to team overview

openerp-india team mailing list archive

[Bug 1096172] Re: export_data on product_product : too external_ids(ir.model.data) generated?

 

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1096172

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

Status in OpenERP Server:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1096172/+subscriptions


References