Skip to content

Commit

Permalink
[FIX] account_debt_report: corregir importes en Detalle de Deuda
Browse files Browse the repository at this point in the history
Ticket 53861
  • Loading branch information
pablohmontenegro committed Sep 6, 2022
1 parent cabc7d3 commit 1cbf0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_debt_report/models/res_partner.py
Expand Up @@ -82,7 +82,7 @@ def get_line_vals(
else:
final_line = []

records = self.env['account.move.line'].sudo().search(domain, order='date asc, date_maturity asc, name, id')
records = self.env['account.move.line'].sudo().search(domain, order='date asc, name, move_id desc, date_maturity asc, id')

grouped = self.env['account.payment']._fields.get('payment_group_id') and safe_eval(
self.env['ir.config_parameter'].sudo().get_param(
Expand Down

0 comments on commit 1cbf0ae

Please sign in to comment.