IDEMPIERE-4309 Changing the UOM field in an order doesn't change the price field / IDEMPIERE-2540 (#126)

This commit is contained in:
Carlos Ruiz 2020-06-24 17:09:17 +02:00 committed by GitHub
parent 426476149d
commit 84577578ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1077,14 +1077,12 @@ public class CalloutOrder extends CalloutEngine
if (log.isLoggable(Level.FINE)) log.fine("QtyChanged -> PriceActual=" + pp.getPriceStd()
+ ", PriceEntered=" + PriceEntered + ", Discount=" + pp.getDiscount());
PriceActual = pp.getPriceStd();
PriceEntered = pp.getPriceStd();
Discount = pp.getDiscount();
PriceLimit = pp.getPriceLimit();
PriceList = pp.getPriceList();
mTab.setValue("PriceList", pp.getPriceList());
mTab.setValue("PriceLimit", pp.getPriceLimit());
mTab.setValue("PriceActual", pp.getPriceStd());
mTab.setValue("PriceEntered", pp.getPriceStd());
mTab.setValue("Discount", pp.getDiscount());
mTab.setValue("PriceEntered", PriceEntered);
Env.setContext(ctx, WindowNo, "DiscountSchema", pp.isDiscountSchema() ? "Y" : "N");