mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-08 04:53:26 +00:00
fix(pos): reapply set warehouse during cart update
(cherry picked from commit 5a53c45321)
This commit is contained in:
@@ -606,6 +606,9 @@ erpnext.PointOfSale.Controller = class {
|
|||||||
|
|
||||||
async on_cart_update(args) {
|
async on_cart_update(args) {
|
||||||
frappe.dom.freeze();
|
frappe.dom.freeze();
|
||||||
|
if (this.frm.doc.set_warehouse !== this.settings.warehouse) {
|
||||||
|
this.frm.set_value("set_warehouse", this.settings.warehouse);
|
||||||
|
}
|
||||||
let item_row = undefined;
|
let item_row = undefined;
|
||||||
try {
|
try {
|
||||||
let { field, value, item } = args;
|
let { field, value, item } = args;
|
||||||
|
|||||||
Reference in New Issue
Block a user