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

Hi All,

Greetings of the Day..!!!

I am working on one requirement where I need to create a button, on clicking of which the data is exported. Instead of using Aerro, I used OpenERP in-built export functionality to achieve the same. The code is running as expected but seemingly its not generating any CSV

def print_order(self, cr, uid, ids, context=None):
    if context == None:
        context = {} 
    fields = [u'id', u'name']
    return super(sale_order, self).export_data(cr, uid, ids=ids, fields_to_export=fields, context=context)

Please provide your input as to what I am missing. Prompt response would be highly appreciated.

Regards, Tarun Behal

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
1509
3
فبراير 25
14675
1
أبريل 25
1987
Export Import تم الحل
1
أبريل 25
1809
0
أكتوبر 23
1274