mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 23:18:02 +00:00
fix(stock): validate warehouse accounts when used
This commit is contained in:
@@ -410,6 +410,7 @@ class Company(NestedSet):
|
||||
)
|
||||
warehouse.flags.ignore_permissions = True
|
||||
warehouse.flags.ignore_mandatory = True
|
||||
warehouse.flags.ignore_inventory_account_validation = True
|
||||
warehouse.insert()
|
||||
|
||||
if wh_detail["is_group"]:
|
||||
|
||||
Reference in New Issue
Block a user