BOM issue - Make a new Item button was not working (#4021)
* new doc creation fix * made requested changes
This commit is contained in:
parent
0b22ead9b4
commit
9262ae0899
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ frappe.ui.form.LinkSelector = Class.extend({
|
|||
('<br><br><a class="new-doc btn btn-default btn-sm">'
|
||||
+ __("Make a new {0}", [__(me.doctype)]) + "</a>") : '')
|
||||
+ '</p>').appendTo(parent).find(".new-doc").click(function () {
|
||||
me.target.new_doc();
|
||||
frappe.new_doc(me.doctype);
|
||||
});
|
||||
}
|
||||
}, this.dialog.get_primary_btn());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue