Selaa lähdekoodia

Merge branch 'hotfix'

version-14
mbauskar 8 vuotta sitten
vanhempi
commit
d6e7aa5613
2 muutettua tiedostoa jossa 8 lisäystä ja 3 poistoa
  1. +1
    -1
      frappe/__init__.py
  2. +7
    -2
      frappe/public/js/frappe/form/formatters.js

+ 1
- 1
frappe/__init__.py Näytä tiedosto

@@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template

__version__ = '8.5.3'
__version__ = '8.5.4'
__title__ = "Frappe Framework"

local = Local()


+ 7
- 2
frappe/public/js/frappe/form/formatters.js Näytä tiedosto

@@ -64,8 +64,13 @@ frappe.form.formatters = {
precision = decimals.length;
}
}
return frappe.form.formatters._right((value==null || value==="")
? "" : format_currency(value, currency, precision), options);
value = (value==null || value==="") ?
"" : format_currency(value, currency, precision);
if (options.for_print) {
return value;
} else {
return frappe.form.formatters._right(value, options);
}
},
Check: function(value) {
if(value) {


Ladataan…
Peruuta
Tallenna