[Fix] Permissions issue while making item variants
This commit is contained in:
parent
ce72d26e95
commit
a8003c1af7
@ -458,7 +458,7 @@ $.extend(erpnext.item, {
|
|||||||
fields: ["attribute_value"],
|
fields: ["attribute_value"],
|
||||||
limit_start: 0,
|
limit_start: 0,
|
||||||
limit_page_length: 500,
|
limit_page_length: 500,
|
||||||
parent: "Item"
|
parent: "Item Attribute"
|
||||||
}
|
}
|
||||||
}).then((r) => {
|
}).then((r) => {
|
||||||
if(r.message) {
|
if(r.message) {
|
||||||
@ -579,7 +579,7 @@ $.extend(erpnext.item, {
|
|||||||
["attribute_value", "like", term + "%"]
|
["attribute_value", "like", term + "%"]
|
||||||
],
|
],
|
||||||
fields: ["attribute_value"],
|
fields: ["attribute_value"],
|
||||||
parent: "Item"
|
parent: "Item Attribute"
|
||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if (r.message) {
|
if (r.message) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user