fix: update correct cost center in Accounts Receivable Report
(cherry picked from commit 09776e9a5a)
This commit is contained in:
@@ -145,6 +145,9 @@ class ReceivablePayableReport:
|
|||||||
if key not in self.voucher_balance:
|
if key not in self.voucher_balance:
|
||||||
self.voucher_balance[key] = self.build_voucher_dict(ple)
|
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)
|
self.get_invoices(ple)
|
||||||
|
|
||||||
if self.filters.get("group_by_party"):
|
if self.filters.get("group_by_party"):
|
||||||
|
|||||||
Reference in New Issue
Block a user