Create a report that collects the names of inactive customers in the last 3 months and depends on payments and invoices
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
1751
查看
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
|
1920 | ||
|
0
8月 24
|
1726 | ||
|
0
1月 24
|
2210 | ||
|
1
11月 23
|
1924 | ||
|
0
6月 23
|
2304 |