Skip to content

Commit

Permalink
fix: update correct cost center in Accounts Receivable Report
Browse files Browse the repository at this point in the history
(cherry picked from commit 09776e9)
  • Loading branch information
vishakhdesai authored and mergify[bot] committed Dec 23, 2024
1 parent 497029f commit 4c5540a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ def init_voucher_balance(self):
if key not in self.voucher_balance:
self.voucher_balance[key] = self.build_voucher_dict(ple)

if ple.voucher_type == ple.against_voucher_type and ple.voucher_no == ple.against_voucher_no:
self.voucher_balance[key].cost_center = ple.cost_center

self.get_invoices(ple)

if self.filters.get("group_by_party"):
Expand Down

0 comments on commit 4c5540a

Please sign in to comment.