details:   https://code.openbravo.com/erp/devel/pi/rev/7c479d73c291
changeset: 25104:7c479d73c291
user:      Sandra Huguet <sandra.huguet <at> openbravo.com>
date:      Tue Oct 28 09:09:03 2014 +0100
summary:   Fixed bug 27966 LandedCostCost should be re-initialized

diffstat:

 src/org/openbravo/costing/LandedCostDistributionByAmount.java |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r db7f984901c5 -r 7c479d73c291 
src/org/openbravo/costing/LandedCostDistributionByAmount.java
--- a/src/org/openbravo/costing/LandedCostDistributionByAmount.java     Mon Oct 
27 17:01:34 2014 +0100
+++ b/src/org/openbravo/costing/LandedCostDistributionByAmount.java     Tue Oct 
28 09:09:03 2014 +0100
@@ -111,6 +111,8 @@
       LCReceiptLineAmt lcrla = 
OBProvider.getInstance().get(LCReceiptLineAmt.class);
       lcrla.setLandedCostCost((LandedCostCost) OBDal.getInstance().getProxy(
           LandedCostCost.ENTITY_NAME, lcCost.getId()));
+      lcCost = (LandedCostCost) 
OBDal.getInstance().getProxy(LandedCostCost.ENTITY_NAME,
+          lcCost.getId());
       lcrla.setLandedCostReceipt(lcrl);
       lcrla.setGoodsShipmentLine(receiptline);
       lcrla.setMatchingAdjustment(isMatching);

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to