2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 20:20:58 +00:00
Commit Graph

1444 Commits

Author SHA1 Message Date
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
07cda765f0 Add "expiry_date" field to StockItem model
- Also adds "is_expired" function
2021-01-03 23:56:35 +11:00
2ad090c224 pop purchase_price field for StockItemEdit form 2021-01-03 13:15:42 +11:00
fe0d356675 pops the purchase_price field instead of using a HiddenInput
Using a HiddenInput on a MoneyFormField causes a validation error, for some reason...
2021-01-03 13:13:14 +11:00
3ff76fbdab Merging master and resolved conflict 2020-12-18 17:08:37 -05:00
1a48405491 Keep 'stock actions' button enabled when on children tab 2020-12-17 17:37:54 -05:00
297bfd776c Pre-select a template if only one matching one exists 2020-12-15 12:31:02 +11:00
648595cf18 Hide purchase price field for non-purchaseable parts 2020-12-14 09:55:39 +11:00
33dfecfdef Added create view test cases for stock ownership 2020-12-03 13:29:59 -05:00
3aad5111b5 Stock ownership: test case for edit stock location and item 2020-12-03 11:56:45 -05:00
f99c83f69d Added test case for stock location ownership 2020-12-03 07:32:01 -05:00
5c6939429a Improved handling of stock location owner 2020-12-02 17:19:41 -05:00
1a7a460ba8 Hidden owner field when ownership control is disabled 2020-12-02 14:05:45 -05:00
de1dfdcc38 Improved naming of new setting and variables 2020-12-02 13:38:53 -05:00
2bdd1305ed Fix style 2020-12-02 13:26:26 -05:00
c66ac2579e Updated StockItem create/edit view with ownership control 2020-12-02 13:25:33 -05:00
2d7461f609 Updated StockLocation create/edit view with ownership control 2020-12-02 12:05:00 -05:00
c9b3c16c6f Added help text on owner fields 2020-12-01 17:46:11 -05:00
8dac6bb982 Updated template stock item logic and added to stock locations 2020-12-01 17:41:03 -05:00
4104e7df8e Fixed template logic 2020-12-01 16:08:27 -05:00
2c38be2d13 Added global setting and updated stock item templates 2020-12-01 15:54:05 -05:00
e1fb7e5d98 Added owner field to both stock item and location tables and forms 2020-12-01 13:45:01 -05:00
95f62d529f Fix sidenav in stocklist 2020-11-30 18:30:51 +01:00
6144d7e209 Fix for StockItem creation form
- purchase_price field was required (should not be!)
- Fixed some validation issues
- Cleaned up form implementation
2020-11-17 15:29:44 +11:00