fix(minor): don't set default app for custom modules
This commit is contained in:
parent
f24f327596
commit
384f4c9e21
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class ModuleDef(Document):
|
|||
def validate(self):
|
||||
from frappe.modules.utils import get_module_app
|
||||
|
||||
if not self.app_name:
|
||||
if not self.app_name and not self.custom:
|
||||
self.app_name = get_module_app(self.name)
|
||||
|
||||
def on_update(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue