working on error in aged_partner_balance_na
This commit is contained in:
parent
cc7c73ad9a
commit
9c0ddb4812
1 changed files with 2 additions and 2 deletions
|
|
@ -192,12 +192,12 @@ class AgedPartnerBalanceCustomHandler(models.AbstractModel):
|
|||
JOIN period_table ON
|
||||
(
|
||||
period_table.date_start IS NULL
|
||||
OR COALESCE(account_move_line.date_maturity, account_move_line.date) <= DATE(period_table.date_start)
|
||||
OR COALESCE(account_move_line.date_maturity, account_move_line.date) >= DATE(period_table.date_start)
|
||||
)
|
||||
AND
|
||||
(
|
||||
period_table.date_stop IS NULL
|
||||
OR COALESCE(account_move_line.date_maturity, account_move_line.date) >= DATE(period_table.date_stop)
|
||||
OR COALESCE(account_move_line.date_maturity, account_move_line.date) <= DATE(period_table.date_stop)
|
||||
)
|
||||
|
||||
WHERE {where_clause}
|
||||
|
|
|
|||
Loading…
Reference in a new issue