CSV export/import not working on tables with ad_ref_list

Description

When exporting using the CSV format, the generated file uses the "Column[Name]" format for columns that are related to the AD_Ref_List table, and for the field content it uses the contents of the column Name on AD_Ref_List (translated to the selected language if possible).

The problem is that the importer does not recognize this format, always telling that the relation is not found.

I was successful on exporting and importing with the small patch attached, what it does is treat the column related to the AD_Ref_List as a simple column, without any relation and placing on the exported file the exact data of the column on the record. When the (unmodified) importer gets this, it will treat the same way, and if the related data doesn't exist on AD_Ref_List, the record insertion will fail.

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Claudemir Todo Bom

Labels

Tested By

None

Components

Affects versions

Priority

Minor
Configure