Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
5096 Ansichten

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    

Avatar
Verwerfen
Autor

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.

Verknüpfte Beiträge Antworten Ansichten Aktivität
5
Juni 17
9006
5
Nov. 16
6868
2
Juni 16
3860
1
Juni 25
3270
2
Dez. 24
4225