mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +00:00
chore: minor changes in pos_controller
(cherry picked from commit f18ae5856f)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user