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

Hello, I have Odoo 8.

I want to display a report like this:

Row: partner name

And for each partner name, display the balance and the date of the last payment.

This is my XML file:

<graph string="Lista de deudores" type="pivot">
<field name="last_payment_date" type="measure" />
<field name="balance" type="measure"/>
<field name="partner" type="row"/>
</graph>

But the "last payment" col is empty. Why? If I try the PostgreSQL query it works OK, there is not the problem    

아바타
취소
작성자

The problem is because the "last_payment_date" is of "date" type. I also try with "char" type. If I try with integer date (for example getting the day of the date) it works.

관련 게시물 답글 화면 활동
5
6월 17
9116
5
11월 16
6990
2
6월 16
3942
1
6월 25
3398
2
12월 24
4360