mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-13 06:31:48 +00:00
fix(stock): grant account access in blanket order role test
This commit is contained in:
@@ -99,7 +99,7 @@ class TestBlanketOrder(FrappeTestCase):
|
||||
)
|
||||
def test_stock_over_delivery_role_does_not_bypass_blanket_order_allowance(self):
|
||||
test_user = frappe.get_doc("User", "test@example.com")
|
||||
test_user.add_roles("Stock Manager")
|
||||
test_user.add_roles("Accounts User", "Stock Manager")
|
||||
|
||||
frappe.clear_cache()
|
||||
for blanket_order_type, doctype, date_field in (
|
||||
|
||||
Reference in New Issue
Block a user