@@ -1,2 +1,2 @@ | |||||
from __future__ import unicode_literals | from __future__ import unicode_literals | ||||
__version__ = "5.0.22" | |||||
__version__ = "5.0.23" |
@@ -55,8 +55,6 @@ class FormMeta(Meta): | |||||
return d | return d | ||||
def add_code(self): | def add_code(self): | ||||
if self.custom: | |||||
return | |||||
path = os.path.join(get_module_path(self.module), 'doctype', scrub(self.name)) | path = os.path.join(get_module_path(self.module), 'doctype', scrub(self.name)) | ||||
def _get_path(fname): | def _get_path(fname): | ||||
return os.path.join(path, scrub(fname)) | return os.path.join(path, scrub(fname)) | ||||
@@ -81,6 +79,8 @@ class FormMeta(Meta): | |||||
self.set(fieldname, (self.get(fieldname) or "") + "\n\n" + render_include(js)) | self.set(fieldname, (self.get(fieldname) or "") + "\n\n" + render_include(js)) | ||||
def add_html_templates(self, path): | def add_html_templates(self, path): | ||||
if self.custom: | |||||
return | |||||
js = "" | js = "" | ||||
for fname in os.listdir(path): | for fname in os.listdir(path): | ||||
if fname.endswith(".html"): | if fname.endswith(".html"): | ||||
@@ -4,7 +4,7 @@ app_title = "Frappe Framework" | |||||
app_publisher = "Frappe Technologies Pvt. Ltd." | app_publisher = "Frappe Technologies Pvt. Ltd." | ||||
app_description = "Full Stack Web Application Framework in Python" | app_description = "Full Stack Web Application Framework in Python" | ||||
app_icon = "octicon octicon-circuit-board" | app_icon = "octicon octicon-circuit-board" | ||||
app_version = "5.0.22" | |||||
app_version = "5.0.23" | |||||
app_color = "orange" | app_color = "orange" | ||||
app_email = "support@frappe.io" | app_email = "support@frappe.io" | ||||
@@ -394,6 +394,10 @@ ul.linked-with-list li { | |||||
.modal-title { | .modal-title { | ||||
margin-top: 5px; | margin-top: 5px; | ||||
} | } | ||||
.modal .form-control { | |||||
position: relative; | |||||
z-index: 1140; | |||||
} | |||||
.form-group { | .form-group { | ||||
margin-bottom: 7px; | margin-bottom: 7px; | ||||
} | } | ||||
@@ -224,6 +224,13 @@ ul.linked-with-list li { | |||||
margin-top: 5px; | margin-top: 5px; | ||||
} | } | ||||
// fixes datepicker z-index issue | |||||
// datepicker takes zindex of input + 1 when input's position is relative | |||||
.modal .form-control { | |||||
position: relative; | |||||
z-index: 1140; | |||||
} | |||||
.form-group { | .form-group { | ||||
margin-bottom: 7px; | margin-bottom: 7px; | ||||
} | } | ||||
@@ -1,6 +1,6 @@ | |||||
from setuptools import setup, find_packages | from setuptools import setup, find_packages | ||||
version = "5.0.22" | |||||
version = "5.0.23" | |||||
with open("requirements.txt", "r") as f: | with open("requirements.txt", "r") as f: | ||||
install_requires = f.readlines() | install_requires = f.readlines() | ||||