[PS] missing referenced document looks like crash during import

Bug #798684 reported by Harmel Delphine (OpenERP)
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Incomplete
Low
OpenERP's Framework R&D

Bug Description

When trying to import a csv of customers in the list of customer the following error is reported in version 6.0.2

Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_BE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "osv\orm.pyo", line 868, in import_data
  File "osv\orm.pyo", line 830, in process_liness
  File "osv\orm.pyo", line 741, in _get_id
ValueError: No record found for Détaillants

Tags: profserv
Revision history for this message
Harmel Delphine (OpenERP) (dha-openerp) wrote :
affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Yogesh (SerpentCS) (yogesh-serpentcs) wrote :

Hello,

Détaillants translation not available in fr.po file. In fr.po file Revendeurs (for retailers) translation define so it's translation issue.

Thanks,

Revision history for this message
Vo Minh Thu (thu) wrote :

It seems the correct translation is Revendeurs, not Détaillants.

Détaillants was used in the past. If you feel it shouldn't be Revendeurs, you might want to contact the french translation team. But I guess you just didn't think the translation was changed so I simply close the bug report as invalid.

Changed in openobject-server:
status: Confirmed → Invalid
Revision history for this message
Harmel Delphine (OpenERP) (dha-openerp) wrote :

Even if the value is not availabel within OpenERP it should not trigger an error... the system should catch it and display a warning message to the user.

Changed in openobject-server:
status: Invalid → Triaged
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

I agree with Delphine, this kind of "cannot find referenced document" errors should be just regular user feedback about the status of the import operation. It should never cause a full exception popup (asking you to contact the maintenance team! ;-))

Changed in openobject-server:
importance: Medium → Low
status: Triaged → Confirmed
summary: - [PS] Impossible to import data
+ [PS] missing referenced document looks like crash during import
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

Can you please retest using the new import meachnism of the web client 6.1

Changed in openobject-server:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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