landed cost fix

This commit is contained in:
nabinhait
2014-07-17 19:16:38 +05:30
committed by Nabin Hait
parent 87f2401c1e
commit cc0692d714
4 changed files with 33 additions and 21 deletions

View File

@@ -194,7 +194,7 @@ class BuyingController(StockController):
"conversion_factor")) or 1
qty_in_stock_uom = flt(item.qty * item.conversion_factor)
rm_supp_cost = flt(item.rm_supp_cost) if self.doctype=="Purchase Receipt" else 0.0
landed_cost_voucher_amount = flt(item.landed_cost_voucher_amount) \
if self.doctype == "Purchase Receipt" else 0.0