commit | 75e50ee082510408ddee90af2c9411f21035a242 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Sun May 11 12:11:15 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Sun May 11 12:11:15 2014 +0530 |
tree | 2cd535d1a03e5b9efe916bfbf3754cbc37dc6281 | |
parent | 6d5c24840218e8b30491ce86192c427b4d6afaad [diff] [blame] |
Fixes for subcontracting
diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index 43276e5..ad56d8f 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py
@@ -256,7 +256,7 @@ rm_supplied_idx += 1 - raw_materials_cost += required_qty * flt(item.rate) + raw_materials_cost += required_qty * flt(bom_item.rate) if self.doctype == "Purchase Receipt": item.rm_supp_cost = raw_materials_cost