details:   https://code.openbravo.com/erp/devel/pi/rev/5e89abb03c8d
changeset: 20484:5e89abb03c8d
user:      Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> 
openbravo.com>
date:      Tue May 28 17:12:12 2013 +0530
summary:   Related to issue 23560

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d31e48e598fb -r 5e89abb03c8d 
src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java       
Tue May 28 16:08:36 2013 +0530
+++ b/src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java       
Tue May 28 17:12:12 2013 +0530
@@ -95,7 +95,7 @@
               .negate());
           BigDecimal newUnitPrice = 
FinancialUtils.calculateNetFromGross(strTaxId,
               productPrice.getStandardPrice(), 
currency.getPricePrecision().intValue(),
-              newOrderLine.getTaxableAmount(), returnedQty);
+              newOrderLine.getTaxableAmount(), 
returnedQty).multiply(returnedQty);
           newOrderLine.setUnitPrice(newUnitPrice);
         }
       } else {

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to