mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-20 09:49:58 +00:00
Merge pull request #57537 from mihir-kandoi/backport-bom-creator-update-cost-v15
fix(manufacturing): update cost of BOMs created via BOM Creator (backport #57532)
This commit is contained in:
@@ -787,7 +787,7 @@ class BOM(WebsiteGenerator):
|
||||
|
||||
for d in self.get("items"):
|
||||
old_rate = d.rate
|
||||
if not self.bom_creator and d.is_stock_item:
|
||||
if d.is_stock_item:
|
||||
d.rate = self.get_rm_rate(
|
||||
{
|
||||
"company": self.company,
|
||||
|
||||
Reference in New Issue
Block a user