InvenTree/InvenTree
Oliver 397419f365
Build consume stock (#4817)
* Adds "consumed_by" field to the StockItem model.

- Points to a BuildOrder instance which "consumed" this stock
- Marks item as unavailable
- Allows filtering against build order

* Allow API filtering

* Adds table of "consumed stock items" to build order page

* Update stock table to show "consumed by" stock status

* Add "consumed_by" link to stock item detail

* Optionally add 'buildorder' details to installStockItem method

* Update methodology for completing a build item

- Instead of deleting stock, mark as "consumed by"

* Fix history entry for splitting stock

* Bug fix

* track "consumed_by" field for tracked items also

* Update build docs

* Update allocation documentation

* Update terminology.md

* Unit test updates

* Fix conflicting migrations

* revert change
2023-05-16 21:25:02 +10:00
..
InvenTree Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
build Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
common Add list of pending shipment to home page, with corresponding settings for user (#4775) 2023-05-08 00:25:51 +10:00
company Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
label Metadata fix (#4725) 2023-05-05 14:06:19 +10:00
locale New Crowdin updates (#4801) 2023-05-14 19:12:53 +10:00
order Add "description" field to extra line items (#4815) 2023-05-15 11:13:38 +10:00
part Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
plugin [Feature] Scrap Build Outputs (#4800) 2023-05-13 22:19:35 +10:00
plugins Update documentation URLs (#4325) 2023-02-10 10:39:57 +11:00
report Metadata fix (#4725) 2023-05-05 14:06:19 +10:00
script Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
stock Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
templates Build consume stock (#4817) 2023-05-16 21:25:02 +10:00
users Add 'Tag' management (#4367) 2023-05-04 09:02:48 +10:00
config_template.yaml Base URL configuration options (#4749) 2023-05-02 22:14:57 +10:00
gunicorn.conf.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
manage.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00