fix: Patch and test codacy
This commit is contained in:
parent
315bf3051c
commit
8484d1cd95
@ -7,6 +7,10 @@ import frappe
|
||||
def execute():
|
||||
parent_list = []
|
||||
count = 0
|
||||
|
||||
frappe.reload_doc('stock', 'doctype', 'purchase_receipt')
|
||||
frappe.reload_doc('stock', 'doctype', 'purchase_receipt_item')
|
||||
|
||||
for data in frappe.db.sql("""
|
||||
select
|
||||
`tabPurchase Receipt Item`.purchase_order, `tabPurchase Receipt Item`.name,
|
||||
|
@ -260,8 +260,6 @@ class TestDeliveryNote(unittest.TestCase):
|
||||
|
||||
make_stock_entry(item_code="_Test Item", target="Stores - TCP1", qty=50, basic_rate=100)
|
||||
|
||||
actual_qty_0 = get_qty_after_transaction(warehouse="Stores - TCP1")
|
||||
|
||||
dn = create_delivery_note(qty=5, rate=500, warehouse="Stores - TCP1", company=company,
|
||||
expense_account="Cost of Goods Sold - TCP1", cost_center="Main - TCP1")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user