跳至内容
菜单
此问题已终结
1 回复
2110 查看

I want to generate a report for every partner that includes debit, credit, and balance for a certain periodd of time. The balance should be within that period and not the total balance. 


I've tried the partner ledger, and I use a filter for a certain period of time, but it shows all the partners even if there is no debit or credit entry in that period, which is something I don't want. 

形象
丢弃
最佳答案

Hi,

This can be achieved by customizing the Partner Ledger report. You can replace the existing report domain with something like this using a custom module, 

[('move_id.date', '>=', start_date), ('move_id.date', '<=', end_date), ('debit', '!=', 0) | ('credit', '!=', 0)]

Thanks

形象
丢弃
相关帖文 回复 查看 活动
1
4月 25
1372
0
3月 25
1258
2
1月 25
1609
2
5月 24
2012
0
8月 23
1864