fix(test): test cases fixed
This commit is contained in:
parent
713cfc786f
commit
13beb3a008
@ -12,7 +12,7 @@ from frappe.custom.doctype.property_setter.property_setter import make_property_
|
||||
|
||||
class AccountsSettings(Document):
|
||||
def on_update(self):
|
||||
pass
|
||||
frappe.clear_cache()
|
||||
|
||||
def validate(self):
|
||||
self.validate_stale_days()
|
||||
|
@ -350,8 +350,9 @@ class TestPurchaseReceipt(unittest.TestCase):
|
||||
'location_name': 'Test Location'
|
||||
}).insert()
|
||||
|
||||
set_perpetual_inventory(1, "_Test Company")
|
||||
pr = make_purchase_receipt(cost_center=cost_center)
|
||||
set_perpetual_inventory(1, pr.company)
|
||||
|
||||
stock_in_hand_account = get_inventory_account(pr.company, pr.get("items")[0].warehouse)
|
||||
gl_entries = get_gl_entries("Purchase Receipt", pr.name)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user