İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1744 Görünümler

Create a report that collects the names of inactive customers in the last 3 months and depends on payments and invoices

Avatar
Vazgeç
En İyi Yanıt

Hi 

You can use the following query to fetch the data in order to create a custom report

date = date.today() + relativedelta(months=-3)

"""select p.name from account_move as m inner join res_partner as p on m.partner_id = p.id where p.active=False and p.write_date::date >= '%s' """ %(date)

Regards

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eki 24
1852
0
Ağu 24
1654
0
Oca 24
2163
1
Kas 23
1851
0
Haz 23
2232