mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
test: delete outdated pos opening entry
This commit is contained in:
@@ -70,6 +70,7 @@ class TestPOSProfile(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
test_user, pos_profile = init_user_and_profile()
|
test_user, pos_profile = init_user_and_profile()
|
||||||
|
frappe.db.delete("POS Opening Entry", {"pos_profile": pos_profile.name})
|
||||||
|
|
||||||
if pos_profile:
|
if pos_profile:
|
||||||
opening_entry = create_opening_entry(pos_profile, test_user.name)
|
opening_entry = create_opening_entry(pos_profile, test_user.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user