Update bom.py

This commit is contained in:
Nabin Hait 2020-12-01 09:33:17 +05:30 committed by GitHub
parent 66e8a12d0f
commit 029b9c08dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ class BOM(WebsiteGenerator):
'qty' : args.get("qty") or args.get("stock_qty") or 1,
'stock_qty' : args.get("qty") or args.get("stock_qty") or 1,
'base_rate' : flt(rate) * (flt(self.conversion_rate) or 1),
'include_item_in_manufacturing': cint(args['transfer_for_manufacture'], 0),
'include_item_in_manufacturing': cint(args.get('transfer_for_manufacture')),
'sourced_by_supplier' : args.get('sourced_by_supplier', 0)
}