Skip to content

Commit

Permalink
fix: changes as per version14hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Apr 16, 2024
1 parent 550ca1f commit 991cb20
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,13 @@ def test_get_advance_payment_entries_for_regional(self):
payment_doc = self._create_payment_entry()
invoice_doc = self._create_sales_invoice(payment_doc)

conditions = frappe._dict({"company": invoice_doc.get("company")})
pe = frappe.qb.DocType("Payment Entry")
conditions = [pe.company == payment_doc.company]

payment_entry = get_advance_payment_entries_for_regional(
party_type="Customer",
party=invoice_doc.customer,
party_account=[invoice_doc.debit_to],
order_list=[],
party_account=invoice_doc.debit_to,
order_doctype="Sales Order",
include_unallocated=True,
condition=conditions,
Expand Down

0 comments on commit 991cb20

Please sign in to comment.