Skip to content

Commit

Permalink
Merge bcde15c into 5c525f6
Browse files Browse the repository at this point in the history
  • Loading branch information
cvinh committed Jul 30, 2019
2 parents 5c525f6 + bcde15c commit 34554ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_budget_oca/models/account_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def _compute_practical_amount(self):
SELECT SUM(amount)
FROM account_analytic_line
WHERE account_id=%s
AND (date between to_date(%s,'yyyy-mm-dd')
AND to_date(%s,'yyyy-mm-dd'))
AND (date between %s
AND %s)
AND general_account_id=ANY(%s)""",
(line.analytic_account_id.id, date_from, date_to, acc_ids,)
)
Expand Down

0 comments on commit 34554ba

Please sign in to comment.