콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4247 화면

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
7월 25
1494
3
2월 25
14640
1
4월 25
1968
Export Import 해결 완료
1
4월 25
1788
0
10월 23
1259