test: Update customer in Sales Invoice

(cherry picked from commit c38be53ce8)
This commit is contained in:
Deepesh Garg
2022-04-14 13:26:47 +05:30
committed by mergify-bot
parent e135c452af
commit a167f9e17f
2 changed files with 2 additions and 1 deletions

View File

@@ -3059,7 +3059,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

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