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

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

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
10月 24
2144
0
8月 24
1909
0
1月 24
2361
1
11月 23
2121
0
6月 23
2494