fix: show uom for item in selector dialog (#25697)
This commit is contained in:
parent
be3cde9313
commit
eca86290bc
@ -77,6 +77,14 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
|||||||
label: __(me.has_batch && !me.has_serial_no ? 'Total Qty' : 'Qty'),
|
label: __(me.has_batch && !me.has_serial_no ? 'Total Qty' : 'Qty'),
|
||||||
default: flt(me.item.stock_qty),
|
default: flt(me.item.stock_qty),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fieldname: 'uom',
|
||||||
|
read_only: 1,
|
||||||
|
fieldtype: 'Link',
|
||||||
|
options: 'UOM',
|
||||||
|
label: __('UOM'),
|
||||||
|
default: me.item.uom
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fieldname: 'auto_fetch_button',
|
fieldname: 'auto_fetch_button',
|
||||||
fieldtype:'Button',
|
fieldtype:'Button',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user