mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +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";
|
const from_selector = field === 'qty' && value === "+1";
|
||||||
if (from_selector)
|
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 (item_row_exists) {
|
||||||
if (field === 'qty')
|
if (field === 'qty')
|
||||||
|
|||||||
Reference in New Issue
Block a user