← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 777235] [NEW] [base_module_record] doesn't generate correct XML ID if one was provided

 

Public bug reported:

When exporting data with base_module_record, the XML ID for records are
generated randomly (as if with the case when data are entered via UI,
and do not have XML ID), even if these records are initialized via
__openerp__.py sections. However, if these data reference to other
records that have XML ID, it does generate correct reference (ref="<XML
ID>").

This behavior is inconsistent with exporting data from CSV (where
correct XML ID are generated, and empty is generated for data that is
not initialized with XML ID). It also make it difficult to sync between
preconfigure data and data updated during development.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/777235

Title:
  [base_module_record] doesn't generate correct XML ID if one was
  provided

Status in OpenERP Modules (addons):
  New

Bug description:
  When exporting data with base_module_record, the XML ID for records
  are generated randomly (as if with the case when data are entered via
  UI, and do not have XML ID), even if these records are initialized via
  __openerp__.py sections. However, if these data reference to other
  records that have XML ID, it does generate correct reference
  (ref="<XML ID>").

  This behavior is inconsistent with exporting data from CSV (where
  correct XML ID are generated, and empty is generated for data that is
  not initialized with XML ID). It also make it difficult to sync
  between preconfigure data and data updated during development.


Follow ups

References