details:   /erp/devel/pi/rev/d588e908d518
changeset: 11567:d588e908d518
user:      Adrián Romero <adrianromero <at> openbravo.com>
date:      Mon Apr 11 17:00:32 2011 +0200
summary:   Fixes issue 0016740: 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 c07f587c8a88 -r d588e908d518 
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Apr 
11 15:35:02 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Apr 
11 17:00:32 2011 +0200
@@ -1482,9 +1482,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