chore: minor changes in pos_controller
This commit is contained in:
parent
a51bec0269
commit
f18ae5856f
@ -522,7 +522,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
|
||||
const from_selector = field === 'qty' && value === "+1";
|
||||
if (from_selector)
|
||||
value = flt(item_row.qty * item_row.conversion_factor) + flt(value);
|
||||
value = flt(item_row.stock_qty) + flt(value);
|
||||
|
||||
if (item_row_exists) {
|
||||
if (field === 'qty')
|
||||
|
Loading…
x
Reference in New Issue
Block a user