test: Update customer in Sales Invoice
This commit is contained in:
parent
972d9ec5b4
commit
c38be53ce8
@ -3138,7 +3138,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,
|
||||||
|
@ -1975,6 +1975,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user