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

1067 Commits

Author SHA1 Message Date
436207b315 Merge remote-tracking branch 'inventree/master' into batch-reports
# Conflicts:
#	InvenTree/templates/stock_table.html
2021-01-18 23:23:58 +11:00
a5aa90cdf2 Merge pull request #1155 from eeintech/stock_owner
Stock Locations and Items Ownership
2021-01-18 22:55:26 +11:00
6a7c722efc Stock table button cleanup 2021-01-18 21:52:20 +11:00
0a566c062d Add click callback on item test tab 2021-01-18 21:36:37 +11:00
ef7cc3f78d Replace existing django form views with API request 2021-01-18 21:33:15 +11:00
2b30df1a70 Fix 2021-01-18 14:41:31 +11:00
a7baad33ba Fix form error for creating a new stock item 2021-01-18 14:41:31 +11:00
72c7ceb553 Merged master and updated stock_table.html 2021-01-17 13:11:59 -05:00
fc32d99327 Add "updated_before" and "updated_after" filter for stock API 2021-01-15 16:39:50 +11:00
ef3ac43c4a Add "last updated" date to stock table 2021-01-15 15:27:40 +11:00
7d5571ba5b Merged changes from master 2021-01-14 08:52:56 -05:00
0134597747 Merge remote-tracking branch 'inventree/master' into label-api
# Conflicts:
#	InvenTree/locale/de/LC_MESSAGES/django.po
#	InvenTree/locale/en/LC_MESSAGES/django.po
#	InvenTree/locale/es/LC_MESSAGES/django.po
2021-01-14 23:56:23 +11:00
df327d4e64 Add stocktake_date field to stock API, and to stock table 2021-01-14 11:29:35 +11:00
1316e6bf5b Properly save user data when creating a new StockItem 2021-01-14 11:24:52 +11:00
e92e5dfe8f Merged master 2021-01-13 17:08:01 -05:00
59c0a50289 Separated category from part permissions and location from stock item permissions 2021-01-13 13:35:49 -05:00
28fb1b5fab Added owner model to admin page and added test cases 2021-01-13 11:38:37 -05:00
0a0a47a5e4 Added location owner change test case to verify stock item owner in that location is also updated 2021-01-12 17:11:46 -05:00
3054c637dd Removed f-string debug 2021-01-12 16:42:09 -05:00
5ca03af3e2 Improved Owner.get_owner method and fixed tests (try#2) 2021-01-12 16:36:29 -05:00
49c954aa68 Fixed test cases? 2021-01-12 15:02:44 -05:00
452d22579a Removed f-string causing build failure 2021-01-12 13:23:14 -05:00
b6135fda74 Updated templates and a lot of manual testing 2021-01-12 13:16:04 -05:00
6f3cbb4e14 Switched to global owner model, need to validate use-cases table and fix tests 2021-01-11 17:41:29 -05:00
6a88bdb37d StockLocation owner is now a GenericForeignKey that can be set to user or group models 2021-01-11 12:56:40 -05:00
01e27a0d59 Add simplified 'barcode' function for StockItem 2021-01-12 00:22:58 +11:00
b6cd2c215a Adds function to provide simplified barcode for stock location 2021-01-11 21:32:31 +11:00
af47b211fd Add dialog for selection of stock location labels 2021-01-11 17:22:04 +11:00
21d5440f98 Remove unused views 2021-01-09 21:55:05 +11:00
e133fff03e Download PDF for labels 2021-01-09 21:50:42 +11:00
587bf26d94 Fixed style 2021-01-08 14:23:35 -05:00
2f78c7c036 Updated stock tests quantities 2021-01-08 14:05:53 -05:00
67bc86c159 Updated stock owners migration file 2021-01-07 14:05:43 -05:00
f26f1c38a2 Merged master 2021-01-07 13:50:29 -05:00
bb72658e76 Rearrange button options for StockItem 2021-01-07 00:18:18 +11:00
7ac7e8f969 Fixed unit test 2021-01-06 23:38:01 +11:00
e5b346e7fa PEP fixes 2021-01-06 23:09:26 +11:00
1d6a049c5a Annotate stock queryset with stale status 2021-01-06 23:06:49 +11:00
e62873a650 Display "stale" status on StockItem info page 2021-01-06 22:21:18 +11:00
ba915da22b Filter StockItem API by staleness 2021-01-06 22:20:54 +11:00
33d6396a4e Exclude expired stock from builds 2021-01-06 21:00:45 +11:00
d0fb69e67d Add option to enable / disable stock expiry feature
- Simply hides fields in form views
2021-01-05 08:50:07 +11:00
9dc9c0fcb7 Auto-populate expiry date for stockitem when created via the API
(Now with unit testing!)
2021-01-05 00:21:26 +11:00
da02ab3eac Add unit testing for view 2021-01-05 00:01:44 +11:00
7d7d5d24cc Pre-fill stockitem expiry date in CreateStockItem form 2021-01-04 23:40:51 +11:00
d1ce0f062e Improve unit testing for StockItem API 2021-01-04 01:22:43 +11:00
a0c95579b4 Display expiry status on StockItem page
- Also adds ability to filter Stock table by expired status
2021-01-04 00:21:47 +11:00
39b9dcfec9 Add 'expired' flag to StockItem serializer 2021-01-04 00:21:21 +11:00
1a930f7f80 Add ability to edit expiry_date for StockItem 2021-01-04 00:20:02 +11:00
6d4c81e68b Add ability to filter by 'expired' status in API 2021-01-04 00:19:48 +11:00