Merge pull request #57536 from mihir-kandoi/backport-bom-creator-update-cost-v16

fix(manufacturing): update cost of BOMs created via BOM Creator (backport #57532)
This commit is contained in:
Mihir Kandoi
2026-07-28 13:06:27 +05:30
committed by GitHub

View File

@@ -1003,7 +1003,7 @@ class BOM(WebsiteGenerator):
for d in self.get("items"):
old_rate = d.rate
if not self.bom_creator and (d.is_stock_item or d.is_phantom_item):
if d.is_stock_item or d.is_phantom_item:
d.rate = self.get_rm_rate(
{
"company": self.company,