mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-09 23:39:28 +00:00
Merge pull request #58039 from mihir-kandoi/backport-58036-version-15-hotfix
fix(stock): validate warehouse accounts when used (backport #58036)
This commit is contained in:
@@ -346,6 +346,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