Przeglądaj źródła

Merge branch 'develop'

version-14
Nabin Hait 10 lat temu
rodzic
commit
47de1e1f87
6 zmienionych plików z 16 dodań i 5 usunięć
  1. +1
    -1
      frappe/__version__.py
  2. +2
    -2
      frappe/desk/form/meta.py
  3. +1
    -1
      frappe/hooks.py
  4. +4
    -0
      frappe/public/css/desk.css
  5. +7
    -0
      frappe/public/less/desk.less
  6. +1
    -1
      setup.py

+ 1
- 1
frappe/__version__.py Wyświetl plik

@@ -1,2 +1,2 @@
from __future__ import unicode_literals from __future__ import unicode_literals
__version__ = "5.0.22"
__version__ = "5.0.23"

+ 2
- 2
frappe/desk/form/meta.py Wyświetl plik

@@ -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"):


+ 1
- 1
frappe/hooks.py Wyświetl plik

@@ -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"


+ 4
- 0
frappe/public/css/desk.css Wyświetl plik

@@ -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;
} }


+ 7
- 0
frappe/public/less/desk.less Wyświetl plik

@@ -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
- 1
setup.py Wyświetl plik

@@ -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()


Ładowanie…
Anuluj
Zapisz