Skip to content

Commit

Permalink
Merge PR #76 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 11, 2024
2 parents c85d29a + 8f1b0ae commit 8269312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_budget_oca/models/account_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _compute_practical_amount(self):
acc_ids = line.general_budget_id.account_ids.ids
date_to = line.date_to
date_from = line.date_from
if line.analytic_account_id.id:
if line.analytic_account_id.id and date_from and date_to:
self.env.cr.execute(
"""
SELECT SUM(amount)
Expand Down

0 comments on commit 8269312

Please sign in to comment.