9cbc2b82b5
Merge pull request #2208 from rocheparadox/master
...
Email notification for low stock
2021-11-01 22:45:49 +11:00
76c1e936db
Added post_delete hook to StockItem
...
moved the business logic of 'deciding if a low stock notification has to be sent' to part.tasks
2021-11-01 08:25:59 +05:30
c775d030f9
Merge branch 'inventree:master' into matmair/issue2181
2021-11-01 01:06:18 +01:00
360f0406b5
CSS updates
...
- Add template for filter lists
- Filter lists now layout horizontally
- Change flex-row to flex-wrap
2021-11-01 08:38:24 +11:00
40da41959b
Created part.tasks file and moved notify_low_stock function to the same from InvenTree.tasks. The argument type is changed from StockItem to Part
...
Added trans to headers of table in email template of low_stock_notification.html
added is_part_low_on_stock() function to the part model to check if the part's stock has fallen below the minimum quantity
used offload_task function to run the low stock notification function asynchronously
2021-10-31 11:26:41 +05:30
20a129f396
Merge branch 'inventree:master' into matmair/issue2181
2021-10-30 17:24:03 +02:00
75c8faa09f
Tweaks
2021-10-30 22:30:04 +11:00
a689b77cfb
More tweaks
2021-10-30 13:18:11 +11:00
c2a8cfd183
PEP style fixes
2021-10-30 12:57:49 +11:00
8e1d9c281a
Adds tree view for stock locations
2021-10-30 12:53:25 +11:00
be23634c5d
Refactor display toggle for part list and part category list
2021-10-30 12:45:07 +11:00
3bd59728db
CSS tweaks
2021-10-30 08:59:40 +11:00
4eea8c8193
Remove old tree classes
2021-10-30 00:18:41 +11:00
a792903a79
Catch sidebar error
2021-10-30 00:15:19 +11:00
a15cc1f3ba
linting fixes
2021-10-30 00:07:51 +11:00
57240865e8
More tweaking
2021-10-30 00:05:32 +11:00
3849ea8057
Rearranging buttons
2021-10-29 23:20:09 +11:00
c04118ed8a
Driving the refactor tractor around the farm
2021-10-29 22:20:06 +11:00
b41d1aed12
Refactor admin button for:
...
- build order
- part detail
- stock item
- stock location
- company detail
- manufacturer-part
- purchase order
- sales order
2021-10-29 17:07:35 +11:00
890fd0f1a0
Remove nav tree
2021-10-29 10:54:15 +11:00
6e486140c3
Merge branch 'inventree:master' into matmair/issue2181
2021-10-29 00:21:11 +02:00
80a41affc1
More sidebar action
2021-10-29 01:20:24 +11:00
e0d3facfac
Refactor sidebar for "stock item" page
2021-10-29 00:40:16 +11:00
59acf45ab9
Implement sidebar for "part category" display
2021-10-29 00:29:09 +11:00
f0fe7f2d5c
Complete refactoring of part sidebar
2021-10-29 00:20:39 +11:00
2778ff55da
Remove btn-default
2021-10-28 19:57:17 +11:00
f8ac016d60
replace labels with badges
2021-10-28 17:41:40 +11:00
05d350b6c8
Tweaks for settings pages
2021-10-28 12:38:33 +11:00
ae2c3e8293
remove "panel-inventree" references
2021-10-28 08:31:36 +11:00
8535dd7572
part category and stock location views
2021-10-27 23:53:41 +11:00
840187f577
refactor stock item page
2021-10-27 23:35:59 +11:00
9d2b4af83f
Refactor part display
2021-10-27 23:29:10 +11:00
e235e5adec
Replace "panel-body" with "panel-content"
2021-10-27 23:09:14 +11:00
711b3ba923
remove "panel-default"
2021-10-27 23:08:15 +11:00
fe25ce8cd1
Refactor "manufacturer_part" view
2021-10-27 22:52:11 +11:00
a004f293ff
Replace all instances of data-toggle with data-bs-toggle
2021-10-27 22:06:30 +11:00
e178a2c370
Refactoring for "stock" pages
2021-10-27 21:50:18 +11:00
9df9aaa18f
breadcrumbs
2021-10-27 20:17:37 +11:00
2d910022ac
Fix for supplier price breaks
...
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
7f6f22fb03
move part toggle button
...
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02:00
d97e3cd4e5
create stock on import
2021-10-24 00:19:17 +02:00
bec845003d
fix defaults
2021-10-23 23:57:10 +02:00
612832c3e7
respect defaults
2021-10-23 23:48:42 +02:00
8e6aaa89f9
calculate true / false for fields
2021-10-23 23:40:57 +02:00
1556663254
added fields to save step
2021-10-23 23:40:29 +02:00
71cc155dc9
Capitalize name
2021-10-23 22:50:01 +02:00
da9d2f7467
Added missing fields
...
Fixes #2181
2021-10-23 22:49:06 +02:00
a97a918860
cut out the fat
...
(removing dead code for outdated form views)
2021-10-17 21:46:33 +11:00
4a6c1e850f
Cleanup unused form
2021-10-17 21:40:59 +11:00
9b00ede61a
Add part queryset filtering to exclude particular ID values
2021-10-14 17:12:08 +11:00