Ignore mandatory for default warehouses (#13812)
This commit is contained in:
parent
c23230faea
commit
c925a38f79
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user