← Back to team overview

openerp-india team mailing list archive

[Bug 1108853] [NEW] [7.0] base_import not taking language into account

 

Public bug reported:

You can use any runbot database for testing this one.
Try to import a csv file for a partner with name as "Test" and country_id as "Belgique" (French name for belgium)
Even though the language you set is French and you country name is "Belgique", it won't recognize it and ask for changing the value.

This means that it's not possible to import data with value for m2o name
attributes in other languages than English. You could potentially have
problem on any field of type translate.


Solutions? :
1. Display a correct message saying that for translatable fields, the EN value must be given (easy, that's just a message but not a usable solution)
2. Look for the translations when importing? At least look at the translation of the field for the language used by the current user?

Screenshot provided

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


** Tags: import profserv translation

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

Title:
  [7.0] base_import not taking language into account

Status in OpenERP Addons (modules):
  New

Bug description:
  You can use any runbot database for testing this one.
  Try to import a csv file for a partner with name as "Test" and country_id as "Belgique" (French name for belgium)
  Even though the language you set is French and you country name is "Belgique", it won't recognize it and ask for changing the value.

  This means that it's not possible to import data with value for m2o
  name attributes in other languages than English. You could potentially
  have problem on any field of type translate.


  Solutions? :
  1. Display a correct message saying that for translatable fields, the EN value must be given (easy, that's just a message but not a usable solution)
  2. Look for the translations when importing? At least look at the translation of the field for the language used by the current user?

  Screenshot provided

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


Follow ups

References