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

I want to add an extra column to the payment receipt print out where it shows the details of invoices paid to.

Since most of our customers pay in multiple payments overtime to multiple invoices, they keep getting confused sometimes. I am unable to attach one to show what i mean clearly.

I want to add an extra column between paid total and balance that would show the exact amount that went to the invoice from the current payment. Not just sum of all payments.


아바타
취소
베스트 답변

Hi,

For inheriting and adding new fields to the qweb reports you can have a look at this blog: Inheriting and modifying QWeb reports

Thanks

아바타
취소
작성자 베스트 답변

so after much messing around i am able to get those payment values by doing this on the qweb report. 

<t t-foreach="o.move_line_ids" t-as="mv">

    <t t-foreach="mv.matched_debit_ids" t-as="dbx">

      <span t-esc="dbx.amount" />

now i need some help to match those to the invoice_ids on the payment.. ??

아바타
취소
관련 게시물 답글 화면 활동
0
1월 20
2777
1
6월 23
8611
2
3월 21
8632
0
5월 19
6564
0
4월 19
3456