mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
naming fix in web page, list style
This commit is contained in:
@@ -10,8 +10,11 @@ class DocType:
|
||||
self.doc.name = website.utils.page_name(self.doc.title)
|
||||
|
||||
def validate(self):
|
||||
"""make page for this product"""
|
||||
p = website.utils.add_page(self.doc.title)
|
||||
"""make page for this product"""
|
||||
if not self.doc.name:
|
||||
self.doc.name = website.utils.page_name(self.doc.title)
|
||||
|
||||
p = website.utils.add_page(self.doc.name)
|
||||
|
||||
from jinja2 import Template
|
||||
from webnotes.utils import global_date_format
|
||||
|
||||
@@ -1 +1 @@
|
||||
384
|
||||
385
|
||||
Reference in New Issue
Block a user