fix: not able to make variant item
(cherry picked from commit 92b0f9cd7e)
This commit is contained in:
committed by
Mergify
parent
79ecf7751f
commit
f871dd4ef6
@@ -562,7 +562,7 @@ $.extend(erpnext.item, {
|
||||
let selected_attributes = {};
|
||||
me.multiple_variant_dialog.$wrapper.find('.form-column').each((i, col) => {
|
||||
if(i===0) return;
|
||||
let attribute_name = $(col).find('label').html().trim();
|
||||
let attribute_name = $(col).find('.control-label').html().trim();
|
||||
selected_attributes[attribute_name] = [];
|
||||
let checked_opts = $(col).find('.checkbox input');
|
||||
checked_opts.each((i, opt) => {
|
||||
|
||||
Reference in New Issue
Block a user