mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 05:48:15 +00:00
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:
committed by
Mergify
parent
03550066a7
commit
070190d07b
@@ -46,6 +46,7 @@ def get_ordered_to_be_billed_data(args, filters=None):
|
|||||||
child_doctype.item_name,
|
child_doctype.item_name,
|
||||||
child_doctype.description,
|
child_doctype.description,
|
||||||
project_field,
|
project_field,
|
||||||
|
doctype.company,
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
(doctype.docstatus == 1)
|
(doctype.docstatus == 1)
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ class PaymentLedger:
|
|||||||
against_voucher_no=ple.against_voucher_no,
|
against_voucher_no=ple.against_voucher_no,
|
||||||
amount=ple.amount,
|
amount=ple.amount,
|
||||||
currency=ple.account_currency,
|
currency=ple.account_currency,
|
||||||
|
company=ple.company,
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.filters.include_account_currency:
|
if self.filters.include_account_currency:
|
||||||
|
|||||||
Reference in New Issue
Block a user