Oliver
|
d0aa09337a
|
Simplify creation of serialized stock via the API
- Fixes atomicity issues
- Don't create-then-delete stock items
|
2022-01-27 12:08:50 +11:00 |
|
Oliver
|
9153b62ea0
|
Handle case when aggregation returns None
|
2022-01-27 10:49:30 +11:00 |
|
Matthias
|
cbd84a23f9
|
fix default empy dict
|
2022-01-21 00:11:26 +01:00 |
|
Oliver
|
1243923944
|
Event refactoring
|
2022-01-10 17:28:44 +11:00 |
|
Oliver
|
886b1f1d72
|
Simplify event triggering
- add generic receivers for database actions
- exclude django_q tables, otherwise we get an infinite loop!
Ref: https://stackoverflow.com/questions/17507784/consolidating-multiple-post-save-signals-with-one-receiver/32230933#32230933
|
2022-01-10 17:24:53 +11:00 |
|
Oliver
|
4ddd6bc351
|
Adds more triggered events for stock models
|
2022-01-10 09:16:18 +11:00 |
|
Oliver
|
936330d3d2
|
Add more triggered events
|
2022-01-09 23:07:12 +11:00 |
|
Oliver
|
ff7a75266b
|
Fixes for stock location forms
|
2022-01-08 20:28:57 +11:00 |
|
Lennart Deters
|
6edfe08bde
|
Dont localize item.quantity in JS Code
|
2022-01-06 03:05:29 +01:00 |
|
Matthias
|
95ee4f908f
|
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append
|
2021-12-29 23:45:19 +01:00 |
|
Matthias
|
2ec41b02f8
|
append information about next serial numbe to fnc call
Fixes #2484
|
2021-12-29 03:01:52 +01:00 |
|
Matthias
|
f8ce23217e
|
simplify call
|
2021-12-29 02:22:10 +01:00 |
|
Oliver
|
52ca2e5068
|
Add another check for merging stock
|
2021-12-21 09:29:12 +11:00 |
|
Oliver
|
dd53748f9f
|
Cleanup models
|
2021-12-21 08:49:53 +11:00 |
|
Oliver
|
fcb2bb2a46
|
Fix behaviour on deleting parent stock item
|
2021-12-21 01:03:37 +11:00 |
|
Oliver
|
31dbb9563b
|
Add some unit tests for the new endpoint
|
2021-12-20 21:25:27 +11:00 |
|
Oliver
|
943b27e195
|
Adds "items" list to API endpoint
|
2021-12-20 19:29:08 +11:00 |
|
Oliver
|
fdf79065a9
|
Adds framework for API endpoint and serializer to merge stock items
|
2021-12-20 18:03:08 +11:00 |
|
Oliver
|
9e16989c91
|
Add same breadcrumb tree for StockLocation and StockItem
|
2021-12-11 00:25:59 +11:00 |
|
Oliver
|
fefe39b88d
|
Fixes for unit tests
|
2021-12-09 10:04:33 +11:00 |
|
Oliver
|
4a453b0a35
|
Assign multiple stock items to a customer at one
|
2021-12-09 00:33:45 +11:00 |
|
Oliver
|
96a885e4e1
|
client side form for assigning stock items to customers
|
2021-12-09 00:20:45 +11:00 |
|
Oliver
|
c36687af22
|
Add unit test for new API serializer
|
2021-12-08 23:45:47 +11:00 |
|
Oliver
|
e0d52843a4
|
Basic stock assignment serializer implementation
|
2021-12-08 23:42:27 +11:00 |
|
Oliver
|
93a240d9c3
|
Remove the "scheduled_for_deletion" field from the StockItem model
Reverts back to the original behaviour - stock items are just deleted
|
2021-12-05 18:14:14 +11:00 |
|
Oliver
|
a821717103
|
Add a data migration which deletes any stock items which have been scheduled for deletion.
Also deletes any instance of the "delete_old_stock_items" worker task
|
2021-12-05 17:56:39 +11:00 |
|
Oliver
|
cde85a5168
|
Add autocomplete fields to admin views for "stock" app:
- StockItem
- StockLocation
- StockItemTestResult
- StockItemAttachment
- StockItemTracking
|
2021-12-04 19:25:57 +11:00 |
|
Oliver
|
93173ef1ee
|
Merge remote-tracking branch 'inventree/master' into partial-shipment
# Conflicts:
# InvenTree/order/serializers.py
|
2021-12-02 23:58:52 +11:00 |
|
Matthias
|
6657d093d7
|
PEP fixes
|
2021-12-02 12:13:03 +01:00 |
|
Matthias
|
b0fb5657e8
|
also validate serial number
|
2021-12-02 12:11:09 +01:00 |
|
Oliver
|
d5ace1a8da
|
Differentiate between "fully allocated" and "partially allocated" in stock item table
|
2021-12-02 21:46:05 +11:00 |
|
Oliver
|
123aab89bc
|
Adds an "available" filter for stock item API
|
2021-12-02 21:40:03 +11:00 |
|
Oliver
|
98bbee8159
|
Adds function to lookup stock item by serial number
|
2021-12-02 15:55:00 +11:00 |
|
Oliver
|
514d5662ea
|
Serial number button CSS tweaks
|
2021-12-02 11:02:17 +11:00 |
|
Oliver
|
a2a436ea69
|
Column improvements
|
2021-12-01 08:05:30 +11:00 |
|
Oliver
|
91c8d9fee3
|
Refactor stock item view
|
2021-11-30 20:59:37 +11:00 |
|
Oliver
|
64abe1e889
|
Refactoring "company" view
|
2021-11-30 20:31:05 +11:00 |
|
Oliver
|
440436c70d
|
Refactor display for "part category"
|
2021-11-30 20:00:26 +11:00 |
|
Oliver
|
3aad2eb13d
|
Refactor title card for "location" view
|
2021-11-30 19:57:07 +11:00 |
|
Oliver
|
4ee55847f1
|
Refactor attachment tables
|
2021-11-28 14:21:20 +11:00 |
|
Oliver
|
0949bac175
|
serializer fixes
|
2021-11-28 14:21:09 +11:00 |
|
Oliver
|
6582fd3d04
|
Add 'link' field to attachment serializer
|
2021-11-28 12:57:37 +11:00 |
|
Oliver
|
e9ed7bffc9
|
adds a "link" field to the InvenTree attachment model
- Allows attachments to also serve as links to external files
|
2021-11-28 12:53:01 +11:00 |
|
Oliver
|
ef7a9b5152
|
Adds a simple endpoint for accessing serial number information for a Part instance
- This is not included by default in the "part detail" endpoint as it must be calculated!
|
2021-11-27 00:11:18 +11:00 |
|
Oliver
|
e53e3b4a51
|
Merge pull request #2350 from matmair/matmair/issue2347
Fix sidebar translation
|
2021-11-23 12:57:11 +11:00 |
|
Matthias
|
d884e62be1
|
[FR] Confirm to W293
Fixes #2335
|
2021-11-23 00:28:23 +01:00 |
|
Matthias
|
d79e9a62b4
|
fix trans tags
|
2021-11-22 23:42:29 +01:00 |
|
Matthias
|
933c420844
|
fix sidebar translation
Fixes #2347
|
2021-11-22 20:24:22 +01:00 |
|
Oliver
|
7399333256
|
Merge pull request #2328 from SchrodingersGat/stock-item-create-fix
Record the user information when creating or updating a stock item
|
2021-11-18 23:34:41 +11:00 |
|
Oliver
|
15a0d260f8
|
Handle case where user is not specified
|
2021-11-18 23:15:40 +11:00 |
|