تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
8597 أدوات العرض

I want to import datas of 100 employees from a csv to openerp 7.0 database.

But when i tried to import It shows below message

"You must configure at least one field to import"

How can i import datas in my database?

الصورة الرمزية
إهمال

Hi firstly I would advise you not not open or edit your CSV file with MS Excel not great with CSV. Use Openoffice for editing and saving CSV files ( although it might not be as user friendly as excel it works better) and I also find the ea_import module from Enapps very helpful http://bazaar.launchpad.net/~enapps-london-uk/enapps-csv-import-tool/trunk/revision/6. Also you might need to add and remove a line or two of code https://code.launchpad.net/~domsense/enapps-csv-import-tool/ea_import_fix_1069819_lep/+merge/131044

الكاتب

i'm using openoffice, still cant import the same exported file. why?

while importing csv you should select the appropriate column names

Copying and pasting data from the web to your CSV sometimes carry extra format which might not be supported by CSV when saving thus openerp might not be able to read the whole document it would help if you type directly into the CSV document. Also take what @Maniganda advised.

أفضل إجابة

Hello Remya,

There is two way to solved this Issue,

1st edit your csv file with OE field name. where edit the first line of csv with same field name.

For eg:

  1. "name","supplier"
  2. "Amit Bhavsar","True" : value

2nd : Otherwise, you can select the OE field from selection ("Don't Import").

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
182
11
يونيو 20
11094
2
نوفمبر 19
6706
1
مارس 19
4821
1
أكتوبر 18
3754