Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4880 Представления

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.

Related Posts Ответы Просмотры Активность
5
июн. 17
8690
5
нояб. 16
6596
2
июн. 16
3648
1
июн. 25
3005
2
дек. 24
3926