details:   https://code.openbravo.com/erp/devel/pi/rev/199701e608d2
changeset: 25101:199701e608d2
user:      Sandra Huguet <sandra.huguet <at> openbravo.com>
date:      Mon Oct 27 11:34:20 2014 +0100
summary:   Fixed bug 27969 landed cost from receipt should be created in status 
complete

diffstat:

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

diffs (12 lines):

diff -r 3547f6b6e776 -r 199701e608d2 
src/org/openbravo/costing/CostingServer.java
--- a/src/org/openbravo/costing/CostingServer.java      Mon Oct 20 16:03:47 
2014 -0500
+++ b/src/org/openbravo/costing/CostingServer.java      Mon Oct 27 11:34:20 
2014 +0100
@@ -201,6 +201,8 @@
           }
           final LandedCostCost landedCostCost = (LandedCostCost) 
lcLines.get()[0];
           landedCostCost.setLandedCost(landedCost);
+          landedCost.getLandedCostCostList().add(landedCostCost);
+          OBDal.getInstance().save(landedCost);
           OBDal.getInstance().save(landedCostCost);
         }
 

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

Reply via email to