2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00
Commit Graph

646 Commits

Author SHA1 Message Date
c901294a48 Add more information to the Barcode
- API endpoint URL
- Add barcode generation for StockLocation
2019-05-02 20:50:20 +10:00
d49ce465e5 Removed UUID field from StockItem
- QR code is now created based on a JSON object
- This will make it extensible to other things such as StockLocation
- Created a helper function to make Barcode objects
2019-05-02 20:40:56 +10:00
4d7ac870e0 Use the collapse template for the stock location list view 2019-05-02 19:02:03 +10:00
20cfa71db2 Added migration file 2019-05-02 00:59:59 +10:00
22f8c1d8c7 Adjust model field (haven't run make migrate yet) 2019-05-02 00:57:44 +10:00
8a8de2b78f Add migration file
- Should pass this time
2019-05-02 00:49:30 +10:00
7e149f817c Small change to uuid should trigger migrations 2019-05-02 00:41:29 +10:00
905d78e25c Complete build now works
- Marks build as complete
- Deletes temporary BuildItem objects
- Preselects the part's default_location if there is one
- Creates a new stockitem in the selected location
2019-05-02 00:04:39 +10:00
436d158cfe Merge remote-tracking branch 'inventree/master' into build-allocation
# Conflicts:
#	InvenTree/company/templates/company/tabs.html
2019-05-01 08:15:58 +10:00
395db4df38 Pepe fixes 2019-04-30 00:18:58 +10:00
5c5411132a First pass at build allocation table
- Uses bootstrap-table "detailView" function
2019-04-29 23:56:02 +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
2f7f49c116 PEP fix 2019-04-28 11:54:40 +10:00
ba49b080b0 Some small tweaks 2019-04-28 11:46:53 +10:00
e5e6480099 Merge pull request #181 from SchrodingersGat/supplier-parts
Supplier parts
2019-04-28 11:28:32 +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
2108ee2eb7 Update makefile 2019-04-28 08:42:17 +10:00
d55ea1a982 PEP fixes 2019-04-28 01:09:48 +10:00
aa04941bf1 Add module-level docstrings for each app 2019-04-28 01:05:45 +10:00
a499fd325e Docstring for Stock app 2019-04-27 22:49:16 +10:00
0484e62836 PEP fixes 2019-04-27 15:25:40 +10:00
e7685951e1 Add (simple) test cases for Stock API
- Still a lot of work to do here
2019-04-27 15:24:30 +10:00
030265cc2d Allow editing of 'notes' field when creating new StockItem 2019-04-27 13:12:34 +10:00
6c3041d99c Remove 'draft' function from StockItem RUD endpoint 2019-04-26 21:44:38 +10:00
d78841a665 Allow editing of more stockitem options 2019-04-25 23:35:48 +10:00
8d5850248e PEP fixes 2019-04-25 23:25:52 +10:00
1f8632c77c Improved response message for stocktake 2019-04-25 23:19:22 +10:00
990808ec03 Fix code to move multiple parts via AJAX / JSON 2019-04-25 23:16:54 +10:00
757cd539b2 Enforce 'notes' field for StockItem move
- Better error handling for StockItem.move
2019-04-25 23:01:03 +10:00
053e9c9795 Add a stock tracking index
- Shows entire history of stocktracking items
2019-04-25 22:11:10 +10:00
79f8736b6b Add note on creation of StockItem 2019-04-25 22:10:46 +10:00
533fdb71c4 Javascript function to render stock tracking table
- Added extra info to StockItemTracking serializer
2019-04-25 22:04:32 +10:00
f36f02b27f Tests for stock app
- Increase coverage of Stock/models.py to 84%
2019-04-25 17:30:44 +10:00
7b68310d73 PEP fixes 2019-04-25 03:20:25 +10:00
7c91c9ba79 Reverse URL for stock models
- stock location
- stock item
- stock tracking

- Added blank test files
2019-04-25 03:13:41 +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
a0b6900eb8 Disable buttons that require row selection, until a selection has been made
- Stock table
2019-04-18 22:35:51 +10:00
5d887f3785 Remove 'simple-history'
- Might re-add it later on
2019-04-18 21:28:09 +10:00
fd3f6ec21e Add stock item filtering by sub-category 2019-04-18 08:33:12 +10:00
ebcbf9a90e Add status_text to API 2019-04-17 23:33:19 +10:00
963883acd6 Consolidated function to adjust stock
- Add / remove / stocktake
- Handle forms and tables properly
2019-04-17 23:17:04 +10:00
ba1b8d9181 Created js function to load stock table
- Avoid duplication of code
2019-04-17 22:59:52 +10:00
b9b8b5ee12 Update model for StockItem 2019-04-17 18:34:21 +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
29f33a8eec Move button locations into bootstrap-table headers
- part category
- stock location
- build list
- company list
- supplier part list
2019-04-16 11:46:07 +10:00