mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-11 06:17:44 +00:00
web-page name fix
This commit is contained in:
@@ -33,7 +33,7 @@ class DocType:
|
||||
import os
|
||||
|
||||
# we need the name for the templates
|
||||
if not self.doc.name:
|
||||
if self.doc.name.startswith('New Web Page'):
|
||||
self.autoname()
|
||||
|
||||
if self.doc.page_name:
|
||||
|
||||
Reference in New Issue
Block a user