mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 23:53:21 +00:00
Merge pull request #58040 from mihir-kandoi/backport-58036-version-16-hotfix
fix(stock): validate warehouse accounts when used (backport #58036)
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