fix: typo in doctype name and qb
This commit is contained in:
parent
67980188a7
commit
9a1588f1cc
@ -766,9 +766,7 @@ def remove_ref_doc_link_from_jv(
|
|||||||
linked_jv = (
|
linked_jv = (
|
||||||
qb.from_(jea)
|
qb.from_(jea)
|
||||||
.select(jea.parent)
|
.select(jea.parent)
|
||||||
.select(
|
.where((jea.reference_type == ref_type) & (jea.reference_name == ref_no) & (jea.docstatus.lt(2)))
|
||||||
(jea.reference_type == ref_type) & (jea.reference_name == ref_no) & (jea.docstatus.lt(2))
|
|
||||||
)
|
|
||||||
.run(as_list=1)
|
.run(as_list=1)
|
||||||
)
|
)
|
||||||
linked_jv = convert_to_list(linked_jv)
|
linked_jv = convert_to_list(linked_jv)
|
||||||
|
|||||||
@ -212,7 +212,7 @@ class AccountsController(TransactionBase):
|
|||||||
validate_einvoice_fields(self)
|
validate_einvoice_fields(self)
|
||||||
|
|
||||||
def _remove_references_in_unreconcile(self):
|
def _remove_references_in_unreconcile(self):
|
||||||
upe = frappe.qb.DocType("UnReconcile Payment Entries")
|
upe = frappe.qb.DocType("Unreconcile Payment Entries")
|
||||||
rows = (
|
rows = (
|
||||||
frappe.qb.from_(upe)
|
frappe.qb.from_(upe)
|
||||||
.select(upe.name, upe.parent)
|
.select(upe.name, upe.parent)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user