mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Ignore mandatory for default warehouses (#13812)
This commit is contained in:
@@ -122,6 +122,7 @@ class Company(Document):
|
||||
if not wh_detail["is_group"] else ""
|
||||
})
|
||||
warehouse.flags.ignore_permissions = True
|
||||
warehouse.flags.ignore_mandatory = True
|
||||
warehouse.insert()
|
||||
|
||||
def create_default_accounts(self):
|
||||
|
||||
Reference in New Issue
Block a user