Check debit on account_check_ar

The grouping payment has been solved by Grouping receivable/payable lines

But it will be better to focus effort on a single solution than implementing different modules doing almost the same things.