test: Update customer in Sales Invoice

This commit is contained in:
Deepesh Garg 2022-04-14 13:26:47 +05:30
parent 972d9ec5b4
commit c38be53ce8
2 changed files with 2 additions and 1 deletions

View File

@ -3138,7 +3138,7 @@ class TestSalesInvoice(unittest.TestCase):
jv.submit()
si = create_sales_invoice(
customer="Overseas Customer",
customer="_Test Customer USD",
debit_to="_Test Receivable USD - _TC",
currency="USD",
conversion_rate=75,

View File

@ -1975,6 +1975,7 @@ def get_advance_journal_entries(
reference_condition = " and (" + " or ".join(conditions) + ")" if conditions else ""
# nosemgrep
journal_entries = frappe.db.sql(
"""
select