← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 806426] [NEW] Importing Phonecalls failes on CSV exported as "Import Compatible Export"

 

Public bug reported:

Affects module: crm
Affects: openerp_web import/export controller

Importing Phonecalls failes, if the "state" field is included in the export.
The "state" field is set to readonly, however it still appears in the "Import Compatible Export" list.
Therefore, re-importing such a file failes at: addons/openerp/controllers/impex.py:431

Steps to reproduce:
 - Export some phonecalls, including the "state" field
 - Try to re-import the CSV
 - Import failes, stating that field 'state' cannot be auto-detected

Expected Result/Behaviour:
EITHER: "state" field not exportable (in "Import Compatible" mode)
OR: "state" field not readonly

Platform:
OS: Ubuntu Lucid Server 
Kernel: 2.6.32-28-generic
python: 2.6
OpenERP Server: 6.0.2
OpenERP Web Client: 6.0.2

[I'm not entirely sure if this bug needs a fix in the crm module or in
the web interface; in the latter case, I'll be happy to report the bug
there ;-) ]

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


** Tags: crm export import phone phonecall

-- 
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/806426

Title:
  Importing Phonecalls failes on CSV exported as "Import Compatible
  Export"

Status in OpenERP Modules (addons):
  New

Bug description:
  Affects module: crm
  Affects: openerp_web import/export controller

  Importing Phonecalls failes, if the "state" field is included in the export.
  The "state" field is set to readonly, however it still appears in the "Import Compatible Export" list.
  Therefore, re-importing such a file failes at: addons/openerp/controllers/impex.py:431

  Steps to reproduce:
   - Export some phonecalls, including the "state" field
   - Try to re-import the CSV
   - Import failes, stating that field 'state' cannot be auto-detected

  Expected Result/Behaviour:
  EITHER: "state" field not exportable (in "Import Compatible" mode)
  OR: "state" field not readonly

  Platform:
  OS: Ubuntu Lucid Server 
  Kernel: 2.6.32-28-generic
  python: 2.6
  OpenERP Server: 6.0.2
  OpenERP Web Client: 6.0.2

  [I'm not entirely sure if this bug needs a fix in the crm module or in
  the web interface; in the latter case, I'll be happy to report the bug
  there ;-) ]

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


Follow ups

References