fix: solve linter test and update
This commit is contained in:
parent
76c61c1b04
commit
a15484fe3d
@ -205,11 +205,11 @@ class LandedCostVoucher(Document):
|
||||
)
|
||||
docs = frappe.db.get_all(
|
||||
"Asset",
|
||||
+ filters={
|
||||
+ receipt_document_type: item.receipt_document,
|
||||
+ "item_code": item.item_code,
|
||||
+ "docstatus": ["!=", 2],
|
||||
+ },
|
||||
filters={
|
||||
receipt_document_type: item.receipt_document,
|
||||
"item_code": item.item_code,
|
||||
"docstatus": ["!=", 2],
|
||||
},
|
||||
fields=["name", "docstatus"],
|
||||
)
|
||||
if not docs or len(docs) != item.qty:
|
||||
|
Loading…
x
Reference in New Issue
Block a user