fixing typo

This commit is contained in:
Matthias 2021-06-27 12:26:02 +02:00
parent 3f1aca9e94
commit 67128c308b

View File

@ -2503,7 +2503,7 @@ class BomItem(models.Model):
# get internal price setting
use_internal = common.models.InvenTreeSetting.get_setting('PART_BOM_USE_INTERNAL_PRICE', False)
prange = self.sub_part.get_price_range(self.quantity, intenal=use_internal)
prange = self.sub_part.get_price_range(self.quantity, internal=use_internal)
if prange is None:
return prange