Oliver
1f5e4a1e6b
Adds a template tag for testing if the server is running in demo mode
2021-11-18 20:17:27 +11:00
Oliver
5e04f2acf3
Merge remote-tracking branch 'inventree/master' into partial-shipment
2021-11-17 20:53:26 +11:00
Oliver
9614963f16
Put function into migration file
2021-11-17 08:58:32 +11:00
Oliver
db009189ca
remove unused function
2021-11-16 20:07:16 +11:00
Oliver
192cfb80b0
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/InvenTree/version.py
2021-11-16 17:06:38 +11:00
Oliver
e36b4458bd
PEP fixes
2021-11-15 23:58:34 +11:00
Oliver
ca3c3685fe
Tweaks
2021-11-15 23:51:21 +11:00
Oliver
01da889c46
Add ability to search "partparametertemplate" API by "name" field
2021-11-15 23:31:56 +11:00
Oliver
00dc7dafe1
Construct "used in" table
2021-11-15 22:39:58 +11:00
Oliver
a9852355c4
Add a unit test
2021-11-15 22:28:09 +11:00
Oliver
1f997d07b6
Update BOM API to allow filtering by "uses"
2021-11-15 22:16:13 +11:00
Oliver
dad097a3ba
Merge remote-tracking branch 'inventree/master' into partial-shipment
2021-11-15 10:55:17 +11:00
Oliver
1deb0f2c1b
Merge pull request #2296 from SchrodingersGat/requires-restart
...
Requires restart
2021-11-12 16:02:31 +11:00
Matthias
5bb3a95699
Fix theme selector
...
Fixes #2298
2021-11-11 23:04:16 +01:00
Oliver
626637a06a
Add "hidden" property to global settings
...
- Allows certain settings to be hidden from the javascript files
2021-11-11 22:16:46 +11:00
Oliver
d5cf2b08ac
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/InvenTree/version.py
# InvenTree/order/models.py
2021-11-11 12:35:59 +11:00
Matthias
bae28e8207
Add setting for enabeling reports
...
Fixes #2278
2021-11-10 23:54:54 +01:00
Oliver
4a26f274af
fixing silly bug I introduced
2021-11-10 14:00:30 +11:00
Oliver
1bb51a7309
Normalize "available stock" quantity before exporting
2021-11-10 13:27:59 +11:00
Oliver
bd81eba380
PEP style fixes
2021-11-10 11:13:30 +11:00
Oliver
6a534e0322
Improve options for installing a part into another part
...
- Allow "variant" parts when the BOM specifies that variants are allowed for a particular BOM item
2021-11-10 11:11:52 +11:00
Oliver
cb075ed2c2
Fix logic for converting stock items to applicable variants
2021-11-08 15:10:41 +11:00
Oliver
bf4de526ac
Typo fix
2021-11-05 10:20:47 +11:00
Oliver
f27acde934
More fixes
...
- Allow stock item creation for inactive parts
- Better handling of successful stock item creation
- Disable fields rather than hiding them
2021-11-05 00:02:55 +11:00
Oliver
f0e44f0efd
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-04 17:24:30 +11:00
Oliver
2130b02e7f
Merge pull request #2193 from matmair/matmair/issue2181
...
Add missing part import fields
2021-11-04 16:54:30 +11:00
Oliver
3a7f8c9196
Fix comparison operator
2021-11-04 16:18:49 +11:00
Oliver
5ae6241083
Fixes for low-stock emails
...
- Include variant stock in test
- Improve email template
2021-11-04 16:15:11 +11:00
Oliver
170d8d11d3
Merge pull request #2246 from SchrodingersGat/build-order-notification
...
Build order notification
2021-11-04 15:23:39 +11:00
Oliver
01191d84c5
Only run check stock function when updating an existing part
2021-11-04 14:32:42 +11:00
Oliver
6db6a70fc2
Add task to check required stock for build order
2021-11-04 13:32:14 +11:00
Oliver
9dba3c3f10
Refactored bom export
2021-11-04 12:10:36 +11:00
Oliver
3b56895f4d
Merge branch 'master' into stock-item-forms
2021-11-04 10:34:49 +11:00
Oliver
52242e7a00
Catch error
2021-11-04 08:40:38 +11:00
Oliver
a447e22108
Prevent low-stock notifications from overwhelming users
...
- Limit to once per day, per part
2021-11-04 01:18:00 +11:00
Oliver
5542532223
Template tweaks
2021-11-04 00:44:16 +11:00
Oliver
ee7c3ae066
Update index page
2021-11-04 00:38:34 +11:00
Oliver
476a1342c1
Improve notification of 'low stock' parts:
...
- Traverse up the variant tree
- Enable subscription by "category"
2021-11-04 00:28:10 +11:00
Oliver
1c6eb41341
Ability to toggle part category "star" status via the API
2021-11-04 00:01:52 +11:00
Oliver
7567b8dd63
MOAR FEATURES:
...
- Add admin view for PartCategoryStar
- Add starred status to partcategory API
- Can filter by "starred" status
- Rename internal functions back to using "starred" (front-end now uses the term "subscribe")
2021-11-03 23:22:31 +11:00
Oliver
f9a00b7a90
Adds extra subsctiption functionality for Part and PartCategory
...
- Allows variants and templates
- Allows categories and sub-categories
- Unit testing
2021-11-03 22:57:49 +11:00
Oliver
cf023e2cc1
Create new model for "PartCategory"
2021-11-03 18:10:34 +11:00
Oliver
e7f6268640
Improvements for alert notifications
...
- Dismissable
- Delete after a certain amount of time
2021-11-03 17:55:30 +11:00
Oliver
85adf842f6
Change bullhorn icon to bell icon
2021-11-03 16:59:59 +11:00
Oliver
63ec5770f4
Merge remote-tracking branch 'inventree/master' into subscription-refactor
2021-11-03 16:55:54 +11:00
Oliver
e5435df2ba
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-03 15:46:30 +11:00
Oliver
74521b7628
Merge pull request #2239 from SchrodingersGat/more-part-details
...
Add more information to the "part details" tab
2021-11-03 14:18:43 +11:00
Oliver
31ea71d391
Display part category
2021-11-03 14:00:13 +11:00
Oliver
d435689562
Add more information to the "part details" tab
2021-11-03 13:57:50 +11:00
Oliver
ecccae1081
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-03 13:34:45 +11:00
Oliver
08ffa102c6
Fixes for part category table
...
(cherry picked from commit f7ef309995f8a52c213748f4a9226724e288c936)
2021-11-03 13:34:01 +11:00
Oliver
08719d4d1b
Merge pull request #2236 from SchrodingersGat/badge-fix
...
Fix CSS for user badges
2021-11-03 12:41:10 +11:00
Oliver
b1c23e30f5
Fix CSS for user badges
2021-11-03 11:59:20 +11:00
Oliver
c636f13ba8
Template fix for BOM upload
2021-11-03 11:44:42 +11:00
Oliver
aaf27d4098
Adds new buttons to create a new stock item
2021-11-03 07:27:58 +11:00
Oliver
4bfdf21107
Change "star" icon to "bullhorn" icon
2021-11-02 15:07:20 +11:00
Oliver
6f9ac4a850
- Fixes for construct_absolute_url function
...
- Refactor notification email generation
- Update template file
- Add separate templates folder for email
2021-11-02 00:40:25 +11:00
Oliver
9cbc2b82b5
Merge pull request #2208 from rocheparadox/master
...
Email notification for low stock
2021-11-01 22:45:49 +11:00
rocheparadox
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
Matthias Mair
c775d030f9
Merge branch 'inventree:master' into matmair/issue2181
2021-11-01 01:06:18 +01:00
Oliver
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
rocheparadox
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
Matthias Mair
20a129f396
Merge branch 'inventree:master' into matmair/issue2181
2021-10-30 17:24:03 +02:00
Oliver
eaa315e726
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/build/templates/build/build_base.html
# InvenTree/order/templates/order/order_base.html
# InvenTree/order/templates/order/sales_order_base.html
# InvenTree/order/templates/order/sales_order_detail.html
# InvenTree/order/templates/order/so_navbar.html
2021-10-30 23:44:06 +11:00
Oliver
75c8faa09f
Tweaks
2021-10-30 22:30:04 +11:00
Oliver
a689b77cfb
More tweaks
2021-10-30 13:18:11 +11:00
Oliver
c2a8cfd183
PEP style fixes
2021-10-30 12:57:49 +11:00
Oliver
8e1d9c281a
Adds tree view for stock locations
2021-10-30 12:53:25 +11:00
Oliver
be23634c5d
Refactor display toggle for part list and part category list
2021-10-30 12:45:07 +11:00
Oliver
3bd59728db
CSS tweaks
2021-10-30 08:59:40 +11:00
Oliver
4eea8c8193
Remove old tree classes
2021-10-30 00:18:41 +11:00
Oliver
a792903a79
Catch sidebar error
2021-10-30 00:15:19 +11:00
Oliver
a15cc1f3ba
linting fixes
2021-10-30 00:07:51 +11:00
Oliver
57240865e8
More tweaking
2021-10-30 00:05:32 +11:00
Oliver
3849ea8057
Rearranging buttons
2021-10-29 23:20:09 +11:00
Oliver
c04118ed8a
Driving the refactor tractor around the farm
2021-10-29 22:20:06 +11:00
Oliver
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
Oliver
890fd0f1a0
Remove nav tree
2021-10-29 10:54:15 +11:00
Matthias Mair
6e486140c3
Merge branch 'inventree:master' into matmair/issue2181
2021-10-29 00:21:11 +02:00
Oliver
80a41affc1
More sidebar action
2021-10-29 01:20:24 +11:00
Oliver
e0d3facfac
Refactor sidebar for "stock item" page
2021-10-29 00:40:16 +11:00
Oliver
59acf45ab9
Implement sidebar for "part category" display
2021-10-29 00:29:09 +11:00
Oliver
f0fe7f2d5c
Complete refactoring of part sidebar
2021-10-29 00:20:39 +11:00
Oliver
2778ff55da
Remove btn-default
2021-10-28 19:57:17 +11:00
Oliver
f8ac016d60
replace labels with badges
2021-10-28 17:41:40 +11:00
Oliver
05d350b6c8
Tweaks for settings pages
2021-10-28 12:38:33 +11:00
Oliver
ae2c3e8293
remove "panel-inventree" references
2021-10-28 08:31:36 +11:00
Oliver
8535dd7572
part category and stock location views
2021-10-27 23:53:41 +11:00
Oliver
840187f577
refactor stock item page
2021-10-27 23:35:59 +11:00
Oliver
9d2b4af83f
Refactor part display
2021-10-27 23:29:10 +11:00
Oliver
e235e5adec
Replace "panel-body" with "panel-content"
2021-10-27 23:09:14 +11:00
Oliver
711b3ba923
remove "panel-default"
2021-10-27 23:08:15 +11:00
Oliver
fe25ce8cd1
Refactor "manufacturer_part" view
2021-10-27 22:52:11 +11:00
Oliver
a004f293ff
Replace all instances of data-toggle with data-bs-toggle
2021-10-27 22:06:30 +11:00
Oliver
e178a2c370
Refactoring for "stock" pages
2021-10-27 21:50:18 +11:00
Oliver
9df9aaa18f
breadcrumbs
2021-10-27 20:17:37 +11:00
Oliver
75845ce1ca
Merge branch 'master' into partial-shipment
2021-10-27 01:05:55 +11:00
Oliver
bff9f0828a
Adds API endpoint to allocate stock items against a SalesOrder
...
- SalesOrderAllocations are no longer created manually
- API endpoint performs data validation
- Multiple line items can be allocated at once
- Adds unit testing for new API endpoint
2021-10-26 23:51:36 +11:00
Oliver
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
Matthias
7f6f22fb03
move part toggle button
...
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02:00