コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5028 ビュー

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
8896
5
11月 16
6753
2
6月 16
3785
1
6月 25
3169
2
12月 24
4125