test: Update customer in Sales Invoice
(cherry picked from commit c38be53ce8)
This commit is contained in:
committed by
mergify-bot
parent
e135c452af
commit
a167f9e17f
@@ -3059,7 +3059,7 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
jv.submit()
|
jv.submit()
|
||||||
|
|
||||||
si = create_sales_invoice(
|
si = create_sales_invoice(
|
||||||
customer="Overseas Customer",
|
customer="_Test Customer USD",
|
||||||
debit_to="_Test Receivable USD - _TC",
|
debit_to="_Test Receivable USD - _TC",
|
||||||
currency="USD",
|
currency="USD",
|
||||||
conversion_rate=75,
|
conversion_rate=75,
|
||||||
|
|||||||
@@ -2000,6 +2000,7 @@ def get_advance_journal_entries(
|
|||||||
|
|
||||||
reference_condition = " and (" + " or ".join(conditions) + ")" if conditions else ""
|
reference_condition = " and (" + " or ".join(conditions) + ")" if conditions else ""
|
||||||
|
|
||||||
|
# nosemgrep
|
||||||
journal_entries = frappe.db.sql(
|
journal_entries = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
select
|
select
|
||||||
|
|||||||
Reference in New Issue
Block a user