InvenTree/.github
Oliver 1b421fb59a
Adds 'consumable' field to BomItem model (#2890)
* Adds 'consumable' field to BomItem model

* Add consumable field to API

* Consumable items always count as "allocated" for a build

* Add new BOM fields to BOM item checksum calculation

* Display 'consumable' status in BOM table

* Fix order of database migrations

* Update unit tests

* Fix for BOM table

* Remove "infinite" field from StockItem model

- Not used anywhere for functionality
- Hidden from the user
- Now replaced by the "consumable" concept in the BuildOrder model

* Update build order allocation table display

* Prevent auto-allocation of stock to consumable BOM items

* Ignore consumable BOM items when allocating stock to a build order

* Reimplmement "footer" row for BOM table

* Fix "can_build" calculation

- Ignore "consumable" BOM items

* Unrelated typo fix

* Tweak BOM table

* More visual tweaks to BOM table

* Add unit test for consumable field
2022-09-24 23:45:56 +10:00
..
actions Update requirements (#3228) 2022-06-28 22:12:00 +10:00
ISSUE_TEMPLATE Adds 'consumable' field to BomItem model (#2890) 2022-09-24 23:45:56 +10:00
workflows Fix for stable branch push (#3619) 2022-08-30 14:27:55 +10:00
CODEOWNERS Add codeowners (#3079) 2022-05-27 11:04:40 +10:00
FUNDING.yml Update FUNDING.yml 2022-02-17 08:15:24 +11:00
release.yml Add major release notes section for security fixes (#3191) 2022-06-14 08:10:10 +10:00