Merge pull request #16138 from rohitwaghchaure/user_permissions_issue_item

[Fix] Permissions issue while making item variants
This commit is contained in:
Nabin Hait 2018-12-03 14:32:40 +05:30 committed by GitHub
commit 0b4ea25f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,7 +458,7 @@ $.extend(erpnext.item, {
fields: ["attribute_value"],
limit_start: 0,
limit_page_length: 500,
parent: "Item"
parent: "Item Attribute"
}
}).then((r) => {
if(r.message) {
@ -579,7 +579,7 @@ $.extend(erpnext.item, {
["attribute_value", "like", term + "%"]
],
fields: ["attribute_value"],
parent: "Item"
parent: "Item Attribute"
},
callback: function(r) {
if (r.message) {