Skip to content

Commit 71d8445

Browse files
Merge pull request #272 from lifeisafractal/add-bom-substitute
Add BomItemSubstitute
2 parents 1c8b006 + 18ebcbb commit 71d8445

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

inventree/part.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,15 @@ class BomItem(
186186
URL = 'bom'
187187

188188

189+
class BomItemSubstitute(
190+
inventree.base.InventreeObject,
191+
inventree.base.MetadataMixin,
192+
):
193+
"""Class representing the BomItemSubstitute database model"""
194+
195+
URL = "bom/substitute"
196+
197+
189198
class InternalPrice(inventree.base.InventreeObject):
190199
""" Class representing the InternalPrice model """
191200

0 commit comments

Comments
 (0)