Merge pull request #8154 from rohitwaghchaure/not_able_to_create_customer_from_pos
fix: not able to create customer from pos
This commit is contained in:
commit
db94f19f47
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
}
|
||||
}
|
||||
|
||||
if(!me.df.only_select && me.frm) {
|
||||
if(!me.df.only_select) {
|
||||
if(frappe.model.can_create(doctype)) {
|
||||
// new item
|
||||
r.results.push({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue