2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00
Commit Graph

259 Commits

Author SHA1 Message Date
2c5bb6b126 Hide supplier_part field if the part cannot be purchased 2019-05-09 18:43:22 +10:00
e9c904076f Added help text for model fields 2019-05-08 23:32:57 +10:00
afffd06fb8 Limit choices for 'parent' field when editing StockLocation 2019-05-08 18:00:34 +10:00
abb8930702 Limit SupplierPart choices in EditStockItem view 2019-05-06 18:06:06 +10:00
71972f4454 Add function to get the default location for a part
- If field not specified, look at the part category
2019-05-04 19:06:39 +10:00
9aa1a70f18 QR code improvements
- Display QR codes as links to served images
- The qr_code plugin caches these images in the background
- Make a qr_code template to push out as a modal form
- Create a QRCodeView to simplify display of QR codes
- Add option to launchModalForm() to disable the 'submit' button

Refactored QR code display for

- StockLocation
- StockItem
- Part
2019-05-04 18:46:57 +10:00
8e65c0a120 Fixes for some broken views 2019-05-04 17:20:05 +10:00
a116c3f191 Handle case where a new stock item is to be created without the part being specified 2019-05-03 23:52:30 +10:00
e471313435 PEP fix 2019-04-29 18:43:44 +10:00
3b838d29ec Small fixes
- Hide some tabs that aren't functional yet
- Hide fields instead of marking them as disabled
- Default behaviour is to allow all hosts
2019-04-29 18:35:16 +10:00
1171953e65 Limit SupplierPart options in CreateBomItem form
- If Part is selected, limit the options in supplier_part field
- Only allow supplier_parts which map back to the same part
2019-04-28 11:24:26 +10:00
a9fbbc3a37 Remove references to get_object_or_404
- Properly handle DoesNotExist errors
2019-04-28 11:09:19 +10:00
a499fd325e Docstring for Stock app 2019-04-27 22:49:16 +10:00
053e9c9795 Add a stock tracking index
- Shows entire history of stocktracking items
2019-04-25 22:11:10 +10:00
0cdf660a80 Merge remote-tracking branch 'inventree/master' into delete-old-forms
# Conflicts:
#	InvenTree/part/views.py
2019-04-18 23:51:58 +10:00
9e9aa02b90 Remove old templates from Stock 2019-04-18 23:41:17 +10:00
8040ad8a6a Add function to duplicate stock item 2019-04-18 23:28:46 +10:00
01bdf2f19b PEP fixes 2019-04-16 22:32:43 +10:00
be60fbcc25 More cleanup for modal forms
- Require 'ajax_template_name' to be set or weird things happen!
2019-04-16 21:25:20 +10:00
1ef81ecf2e Ignore some rules 2019-04-14 09:39:01 +10:00
76b0d17b11 PEP fixes for /stock 2019-04-14 09:23:24 +10:00
e6e03963c4 Simplified custom button text for modal forms
- Now only configured from the javascript end
- No server-side configuration of button text
2019-04-13 23:02:23 +10:00
93bb0bf6f4 Improved 'move stock' form
- Better error checking on the form (provides form validation messages to user)
2019-04-13 00:08:13 +10:00
8a0db0e6df Updated stockitem detail page
- Consolidated buttons into dropdown
- Stock tracking now in collapsible list
2018-05-06 21:53:06 +10:00
a7d4e299b2 Cleaned up stock app 2018-05-04 23:31:48 +10:00
37b109b8fc First pass of automated tracking data
- When stock item is moved
- When stocktake is performed
- Yes it is  bad - needs improvement!
2018-04-30 21:36:50 +10:00
f9138f4997 Item stocktake form 2018-04-30 21:03:25 +10:00
d68b51e007 Add ability to move a stock item 2018-04-30 01:00:18 +10:00
bc597d7c21 Style fixes 2018-04-28 01:16:47 +10:00
4d6e2aca2c Modal forms for stock app 2018-04-27 22:59:08 +10:00
982803a0a7 Updated Part model
- Added 'default_location'
- Added 'default_supplier'
2018-04-17 18:23:39 +10:00
a91ff58d84 Flakey
Fixing python style errors
2018-04-16 01:02:17 +10:00
55b533d3ef Added edit views for stock
- StockItem
- StockLocation
2018-04-15 23:27:56 +10:00
9d89db34b2 Improvements to stock page
- Fixed URL / view (use class views)
- Better slug lookup
- Better table rendering using ol' mate bootstrap
2018-04-15 20:10:49 +10:00
ce854e3119 Add 'detail' view for stock item 2018-04-14 15:26:42 +10:00
89ee09b01f Implemented bidirectional traversal for PART and STOCK apps
- Added list view for StockItems
2018-04-14 15:13:16 +10:00
1da6df0c5e Separate API views into api.py
- Web views are still in views.py
- Files were getting too cluttered and hard to grok
2018-04-14 14:11:46 +10:00
7478371d0c Added stockhistory
using django-simple-history
2017-04-21 23:47:04 +10:00
4777b02080 Added User API and serializer 2017-04-20 22:40:59 +10:00
2c28ef6b3c Added update endpoints for StockItem
- Stocktake
- Take-Stock
2017-04-20 22:08:27 +10:00
057fd1dd20 Filtering improvements 2017-04-16 14:24:15 +10:00
a65f85df87 Added StockTracking model 2017-04-16 01:43:30 +10:00
7e1fbf8a04 Style fixes 2017-04-16 01:01:48 +10:00
4259c6f9eb Fixed stock URLs and API docs 2017-04-15 23:14:10 +10:00
7d7579d3d6 Style fixes 2017-04-15 00:55:30 +10:00
858a7fe089 Tweaking URL patterns 2017-04-14 21:44:01 +10:00
e5f6de5d2b Style fixes 2017-04-14 16:12:54 +10:00
f21a05dfa3 Style fixes 2017-04-14 13:31:07 +10:00
7fe1c21ebd Updated Part API
- categories can now be filtered by parent
- Added FilterChildren func to invenTree.models
2017-04-14 13:09:24 +10:00
c4b7b80e1a Added stock permissison 2017-04-14 12:58:43 +10:00