Skip to content

Commit

Permalink
fix: Add company filter at get_invoice method (backport #46238) (#46299)
Browse files Browse the repository at this point in the history
fix: Add company filter at get_invoice method (#46238)

(cherry picked from commit a8d1cbc)

Co-authored-by: Kunhi <kunhimohamed6@gmail.com>
  • Loading branch information
mergify[bot] and kunhimohamed authored Mar 5, 2025
1 parent 400f4f3 commit 4f80ddd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def get_invoices(self):
.where(
(inv.docstatus == 1)
& (deferred_flag_field == 1)
& (inv.company == self.filters.company)
& (
(
(self.period_list[0].from_date >= inv_item.service_start_date)
Expand Down

0 comments on commit 4f80ddd

Please sign in to comment.