eeintech
|
e92e5dfe8f
|
Merged master
|
2021-01-13 17:08:01 -05:00 |
|
eeintech
|
59c0a50289
|
Separated category from part permissions and location from stock item permissions
|
2021-01-13 13:35:49 -05:00 |
|
eeintech
|
28fb1b5fab
|
Added owner model to admin page and added test cases
|
2021-01-13 11:38:37 -05:00 |
|
eeintech
|
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 |
|
eeintech
|
3054c637dd
|
Removed f-string debug
|
2021-01-12 16:42:09 -05:00 |
|
eeintech
|
5ca03af3e2
|
Improved Owner.get_owner method and fixed tests (try#2)
|
2021-01-12 16:36:29 -05:00 |
|
eeintech
|
49c954aa68
|
Fixed test cases?
|
2021-01-12 15:02:44 -05:00 |
|
eeintech
|
452d22579a
|
Removed f-string causing build failure
|
2021-01-12 13:23:14 -05:00 |
|
eeintech
|
b6135fda74
|
Updated templates and a lot of manual testing
|
2021-01-12 13:16:04 -05:00 |
|
eeintech
|
6f3cbb4e14
|
Switched to global owner model, need to validate use-cases table and fix tests
|
2021-01-11 17:41:29 -05:00 |
|
eeintech
|
6a88bdb37d
|
StockLocation owner is now a GenericForeignKey that can be set to user or group models
|
2021-01-11 12:56:40 -05:00 |
|
eeintech
|
587bf26d94
|
Fixed style
|
2021-01-08 14:23:35 -05:00 |
|
eeintech
|
2f78c7c036
|
Updated stock tests quantities
|
2021-01-08 14:05:53 -05:00 |
|
eeintech
|
67bc86c159
|
Updated stock owners migration file
|
2021-01-07 14:05:43 -05:00 |
|
eeintech
|
f26f1c38a2
|
Merged master
|
2021-01-07 13:50:29 -05:00 |
|
Oliver Walters
|
bb72658e76
|
Rearrange button options for StockItem
|
2021-01-07 00:18:18 +11:00 |
|
Oliver Walters
|
7ac7e8f969
|
Fixed unit test
|
2021-01-06 23:38:01 +11:00 |
|
Oliver Walters
|
e5b346e7fa
|
PEP fixes
|
2021-01-06 23:09:26 +11:00 |
|
Oliver Walters
|
1d6a049c5a
|
Annotate stock queryset with stale status
|
2021-01-06 23:06:49 +11:00 |
|
Oliver Walters
|
e62873a650
|
Display "stale" status on StockItem info page
|
2021-01-06 22:21:18 +11:00 |
|
Oliver Walters
|
ba915da22b
|
Filter StockItem API by staleness
|
2021-01-06 22:20:54 +11:00 |
|
Oliver Walters
|
33d6396a4e
|
Exclude expired stock from builds
|
2021-01-06 21:00:45 +11:00 |
|
Oliver Walters
|
d0fb69e67d
|
Add option to enable / disable stock expiry feature
- Simply hides fields in form views
|
2021-01-05 08:50:07 +11:00 |
|
Oliver Walters
|
9dc9c0fcb7
|
Auto-populate expiry date for stockitem when created via the API
(Now with unit testing!)
|
2021-01-05 00:21:26 +11:00 |
|
Oliver Walters
|
da02ab3eac
|
Add unit testing for view
|
2021-01-05 00:01:44 +11:00 |
|
Oliver Walters
|
7d7d5d24cc
|
Pre-fill stockitem expiry date in CreateStockItem form
|
2021-01-04 23:40:51 +11:00 |
|
Oliver Walters
|
d1ce0f062e
|
Improve unit testing for StockItem API
|
2021-01-04 01:22:43 +11:00 |
|
Oliver Walters
|
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 |
|
Oliver Walters
|
39b9dcfec9
|
Add 'expired' flag to StockItem serializer
|
2021-01-04 00:21:21 +11:00 |
|
Oliver Walters
|
1a930f7f80
|
Add ability to edit expiry_date for StockItem
|
2021-01-04 00:20:02 +11:00 |
|
Oliver Walters
|
6d4c81e68b
|
Add ability to filter by 'expired' status in API
|
2021-01-04 00:19:48 +11:00 |
|
Oliver Walters
|
07cda765f0
|
Add "expiry_date" field to StockItem model
- Also adds "is_expired" function
|
2021-01-03 23:56:35 +11:00 |
|
Oliver Walters
|
2ad090c224
|
pop purchase_price field for StockItemEdit form
|
2021-01-03 13:15:42 +11:00 |
|
Oliver Walters
|
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 |
|
eeintech
|
3ff76fbdab
|
Merging master and resolved conflict
|
2020-12-18 17:08:37 -05:00 |
|
eeintech
|
1a48405491
|
Keep 'stock actions' button enabled when on children tab
|
2020-12-17 17:37:54 -05:00 |
|
Oliver Walters
|
297bfd776c
|
Pre-select a template if only one matching one exists
|
2020-12-15 12:31:02 +11:00 |
|
Oliver Walters
|
648595cf18
|
Hide purchase price field for non-purchaseable parts
|
2020-12-14 09:55:39 +11:00 |
|
eeintech
|
33dfecfdef
|
Added create view test cases for stock ownership
|
2020-12-03 13:29:59 -05:00 |
|
eeintech
|
3aad5111b5
|
Stock ownership: test case for edit stock location and item
|
2020-12-03 11:56:45 -05:00 |
|
eeintech
|
f99c83f69d
|
Added test case for stock location ownership
|
2020-12-03 07:32:01 -05:00 |
|
eeintech
|
5c6939429a
|
Improved handling of stock location owner
|
2020-12-02 17:19:41 -05:00 |
|
eeintech
|
1a7a460ba8
|
Hidden owner field when ownership control is disabled
|
2020-12-02 14:05:45 -05:00 |
|
eeintech
|
de1dfdcc38
|
Improved naming of new setting and variables
|
2020-12-02 13:38:53 -05:00 |
|
eeintech
|
2bdd1305ed
|
Fix style
|
2020-12-02 13:26:26 -05:00 |
|
eeintech
|
c66ac2579e
|
Updated StockItem create/edit view with ownership control
|
2020-12-02 13:25:33 -05:00 |
|
eeintech
|
2d7461f609
|
Updated StockLocation create/edit view with ownership control
|
2020-12-02 12:05:00 -05:00 |
|
eeintech
|
c9b3c16c6f
|
Added help text on owner fields
|
2020-12-01 17:46:11 -05:00 |
|
eeintech
|
8dac6bb982
|
Updated template stock item logic and added to stock locations
|
2020-12-01 17:41:03 -05:00 |
|
eeintech
|
4104e7df8e
|
Fixed template logic
|
2020-12-01 16:08:27 -05:00 |
|