[minor] allow float in amount
This commit is contained in:
parent
46423117b8
commit
27312e2129
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ frappe.web_form = {
|
|||
}
|
||||
})
|
||||
var currency_fields = $.map(frappe.get_doc("DocType", frm.doc.doc_type).fields, function(d) {
|
||||
if (d.fieldtype === 'Currency') {
|
||||
if (d.fieldtype === 'Currency' || d.fieldtype === 'Float') {
|
||||
return { label: d.label, value: d.fieldname }
|
||||
} else {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue