mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
test: Update customer in Sales Invoice
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user