mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
(cherry picked from commit f31122cbc3)
Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
@@ -4,10 +4,13 @@
|
|||||||
|
|
||||||
frappe.ui.form.on("Naming Series", {
|
frappe.ui.form.on("Naming Series", {
|
||||||
onload: function(frm) {
|
onload: function(frm) {
|
||||||
frm.disable_save();
|
|
||||||
frm.events.get_doc_and_prefix(frm);
|
frm.events.get_doc_and_prefix(frm);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
refresh: function(frm) {
|
||||||
|
frm.disable_save();
|
||||||
|
},
|
||||||
|
|
||||||
get_doc_and_prefix: function(frm) {
|
get_doc_and_prefix: function(frm) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "get_transactions",
|
method: "get_transactions",
|
||||||
|
|||||||
Reference in New Issue
Block a user