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

hi,

I am using odoo v10 community

I want to create csv report for all invoice for the signed in user. There are few calculations to be done in output CSV file so default export cant be opted

structure of csv file is something like..

Inv_no    inv_amount    Tax@5%  Tax@18%   grand_total ... ( and few custom fields as such)

----------

I have my new module.

Please advice, how to fetch list of all Invoices data so I can do calculations and write in CSV.

I inherited account.invoice  but not able to understand how can I get all Invoices details and how to traverse to which list / dictionary ??
I know what to do .. but how to do is troubling me... Still new to odoo world.

I am looking code to traverse through list of all Invoices so I can quickly add my fields and write to csv making required calculations..


Appreciate support please team. I now this might be silly but any advice around is highly appreciated.

아바타
취소
관련 게시물 답글 화면 활동
0
8월 23
2790
1
1월 22
1537
3
2월 25
2831
1
11월 24
2578
1
11월 24
1499