[Fix] Serial nos not pulling on the delivery note, for language spanish add serial no button was not working
This commit is contained in:
parent
ff5bd680c2
commit
2087e574aa
@ -781,7 +781,9 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
if(k=="price_list_rate") {
|
||||
if(flt(v) != flt(d.price_list_rate)) price_list_rate_changed = true;
|
||||
}
|
||||
frappe.model.set_value(d.doctype, d.name, k, v);
|
||||
if(v) {
|
||||
frappe.model.set_value(d.doctype, d.name, k, v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,6 +47,7 @@ $.extend(erpnext, {
|
||||
fields: [
|
||||
{
|
||||
"fieldtype": "Link",
|
||||
"fieldname": "serial_no",
|
||||
"options": "Serial No",
|
||||
"label": __("Serial No"),
|
||||
"get_query": function () {
|
||||
@ -60,6 +61,7 @@ $.extend(erpnext, {
|
||||
},
|
||||
{
|
||||
"fieldtype": "Button",
|
||||
"fieldname": "add",
|
||||
"label": __("Add")
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user