fix: Linting Issues

This commit is contained in:
Deepesh Garg 2021-05-22 20:30:18 +05:30
parent 36d47f97f4
commit 55a3fb57dd
2 changed files with 1 additions and 2 deletions

View File

@ -991,7 +991,7 @@ class TestPurchaseInvoice(unittest.TestCase):
self.assertEqual(expected_gle[i][1], gle.debit)
self.assertEqual(expected_gle[i][2], gle.credit)
Create Purchase Invoice against Purchase Order
# Create Purchase Invoice against Purchase Order
purchase_invoice = get_mapped_purchase_invoice(po.name)
purchase_invoice.allocate_advances_automatically = 1
purchase_invoice.save()

View File

@ -56,7 +56,6 @@ def set_filters(filters):
elif filters.purchase_order and not filters.supplier:
for d in filters.get("invoices"):
if d.name == filters.purchase_order:
print("$#$#$$#")
invoices.append(d)
filters["invoices"] = invoices if invoices else filters["invoices"]