fix: provide missing company in report records that require reference to Company:company:default_currency

(cherry picked from commit 7f3905185c)
This commit is contained in:
Devin Slauenwhite
2025-08-02 11:38:47 -04:00
committed by Mergify
parent 03550066a7
commit 070190d07b
2 changed files with 2 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ def get_ordered_to_be_billed_data(args, filters=None):
child_doctype.item_name,
child_doctype.description,
project_field,
doctype.company,
)
.where(
(doctype.docstatus == 1)

View File

@@ -46,6 +46,7 @@ class PaymentLedger:
against_voucher_no=ple.against_voucher_no,
amount=ple.amount,
currency=ple.account_currency,
company=ple.company,
)
if self.filters.include_account_currency: