details:   /erp/stable/2.50/rev/3f8a7a0ad260
changeset: 9354:3f8a7a0ad260
user:      Adrián Romero <adrianromero <at> openbravo.com>
date:      Mon Apr 11 17:07:09 2011 +0200
summary:   Fixes issue 0016749: Purchase Invoice - Create lines From feature 
does not take the unit price of the purchase order but the price list one
It has been removed the recalculation of the price of the line in case of 
copying from an order or from a shipment with an order associated.

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (14 lines):

diff -r 56eb437c50c5 -r 3f8a7a0ad260 
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Apr 
11 17:23:24 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Apr 
11 17:07:09 2011 +0200
@@ -1508,9 +1508,7 @@
                 priceList = price[0].pricelist;
                 priceLimit = price[0].pricelimit;
                 priceStd = price[0].pricestd;
-                priceActual = 
CreateFromInvoiceData.getOffersPriceInvoice(this, strDateInvoiced,
-                    strBPartner, data[i].mProductId, priceStd, 
data[i].quantityorder, strPriceList,
-                    strKey);
+                priceActual = price[0].priceactual;
               }
               if (isSOTrx.equals("Y") && price[0].cancelpricead.equals("Y")) {
                 priceActual = priceStd;

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to