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