Oliver
6a6eae7e54
Bug fix for BOM uploading
...
(cherry picked from commit 2e04b311306259e0ead07de9e08b3ba376caf4e4)
2021-11-20 18:10:51 +11:00
Oliver
f8aa5514ae
Fix BOM export for multi-level BOMs
2021-11-20 17:44:54 +11:00
Matthias
1a6a26204e
make sure protected values are never exposed
2021-11-20 00:24:17 +01:00
Matthias
1798214cd2
add protected settings in model
2021-11-19 23:59:57 +01:00
Matthias
74b3cad566
fix language name
...
missing closing bracket
2021-11-19 23:41:15 +01:00
Oliver
c64c5463c8
Merge pull request #2334 from matmair/allow-no-icon
...
add default to icon for sidebar item
2021-11-20 08:55:03 +11:00
Oliver
6a235c9f15
Merge pull request #2333 from matmair/multiple-admin-btn
...
allow admin buttons to be assigned by class
2021-11-20 08:27:26 +11:00
Matthias
7dad2b02f0
add default to icon for sidebar item
2021-11-19 22:22:19 +01:00
Matthias
70916bb11f
allow admin buttons to be assigned by class
2021-11-19 21:53:08 +01:00
Matthias
512c73a59e
make diffs for extending middleware cleaner
2021-11-19 21:51:57 +01:00
Oliver
1460c73637
Add es_MX language translation
2021-11-19 07:44:33 +11: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
7d80387f3c
Merge pull request #2329 from SchrodingersGat/bom-quantity-fix
...
Bom quantity fix
2021-11-18 23:24:44 +11:00
Oliver
15a0d260f8
Handle case where user is not specified
2021-11-18 23:15:40 +11:00
Oliver
7ca36a092e
convert remaining serializers
2021-11-18 23:01:19 +11:00
Oliver
c3fb6a6861
Convert BOM quantity field to new field class
2021-11-18 22:50:37 +11:00
Oliver
1bde26a7be
Copy 'help_text' through from the model field if it is not defined for the serializer field
2021-11-18 22:48:22 +11:00
Oliver
35bd6ce927
Adds a new custom serializer field - InvenTreeDecimalField
...
- Fixes a number of problems with using FloatField
2021-11-18 22:17:58 +11:00
Oliver
bfb32f3bf6
Record the user information when creating or updating a stock item
2021-11-18 21:26:26 +11:00
Oliver
b726df3a5e
style fixes
2021-11-18 20:57:44 +11:00
Oliver
6dafedd0f3
Adjust login screen
2021-11-18 20:55:10 +11:00
Oliver
cac77ed134
Hide account edit actions in demo mode
2021-11-18 20:37:08 +11:00
Oliver
2a5b882a25
Navbar updates
...
- Display "demo mode" with link to docs
- Remove "admin" menu action
2021-11-18 20:34:50 +11:00
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
4aeac79ba5
Remove very old unused file
2021-11-18 20:08:24 +11:00
Oliver
0dd3389518
Read "DEMO_MODE" into settings.py
2021-11-18 19:59:14 +11:00
Oliver
9c3b04f771
Adds fallback value if status code color is not defined
2021-11-17 14:09:20 +11:00
Oliver
9614963f16
Put function into migration file
2021-11-17 08:58:32 +11:00
Oliver
d217fa4d9f
Reduce size of splash screen image
2021-11-16 20:09:38 +11:00
Oliver
db009189ca
remove unused function
2021-11-16 20:07:16 +11:00
Oliver
20941ce00b
JS linting
2021-11-16 00:15:18 +11:00
Oliver
5b0a2576f6
additional filters for "used-in" table
2021-11-16 00:04:06 +11:00
Oliver
6367f1a9ed
Improve titles in table
2021-11-16 00:00:52 +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
c367fd7941
Fixes multiple issues for "used in" table
2021-11-15 23:51:02 +11:00
Oliver
01da889c46
Add ability to search "partparametertemplate" API by "name" field
2021-11-15 23:31:56 +11:00
Oliver
66032ea77a
Indicate that a BOM item is inherited in the "uses" table
2021-11-15 23:14:13 +11:00
Oliver
f3782ae8bc
visual improvements for table filter elements
2021-11-15 23:13:58 +11:00
Oliver
d5ebdd035e
Search button fix
2021-11-15 23:06:15 +11:00
Oliver
0b487c6111
"used in" table now accommodates "inherited" BOMs
2021-11-15 23:00:05 +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
29ba9d06a3
Adds language support for portugese
2021-11-13 22:47:15 +11:00
Oliver
1deb0f2c1b
Merge pull request #2296 from SchrodingersGat/requires-restart
...
Requires restart
2021-11-12 16:02:31 +11:00
Oliver
a470181ac6
Style fixes
2021-11-12 15:42:53 +11:00
Oliver
1a994a47ea
Merge pull request #2297 from eeintech/bs5_dark_reader
...
Updated Dark Reader CSS for BS5
2021-11-12 11:26:15 +11:00
Matthias
3be21c59ec
remove default listing without a key
2021-11-11 23:07:46 +01:00
Matthias
5bb3a95699
Fix theme selector
...
Fixes #2298
2021-11-11 23:04:16 +01:00
Matthias
1ff9edf490
move theme selection
...
#2299
2021-11-11 15:54:57 +01:00
eeintech
a810708336
Updated Dark Reader color theme CSS after Bootstrap 5 port
2021-11-11 08:02:12 -05:00
Oliver
03aa9bc9b0
Tweaks for settings admin views
2021-11-11 22:39:31 +11:00
Oliver
d4db750d2f
Clear the SERVER_RESTART_REQUIRED flag automatically when the server reloads
2021-11-11 22:26:46 +11:00
Oliver
cacc272424
Display a wanring message if server restart is required
2021-11-11 22:22:39 +11: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
2f3772f3bf
define "requires_restart" function for global setting
2021-11-11 22:16:28 +11:00
Oliver
b17d6f932a
Merge pull request #2165 from nwns/feature/redisascache
...
Add support for using Redis as a cache and a broker
2021-11-11 17:08:41 +11:00
Oliver
9a017d950e
Merge pull request #2288 from matmair/matmair/issue2278
...
Add setting for enabeling reports
2021-11-11 11:23:32 +11:00
Matthias
fcc94b3902
remove empty breadcrumb space in settings
2021-11-11 00:28:30 +01: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
ae7cde7547
Merge pull request #2281 from SchrodingersGat/stock-sort
...
Adds "stock" column sorting for stock table
2021-11-10 12:20:07 +11:00
Oliver
986a13864a
Exclude 'serial_int' when exporting stock data
2021-11-10 11:37:30 +11:00
Oliver
919f182c25
Remove debug messages
2021-11-10 11:30:11 +11:00
Oliver
ba11a73f91
Fix for saving stock item objects
2021-11-10 11:22:58 +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
067f12d5eb
PEP fixes
2021-11-10 11:01:12 +11:00
Oliver
25ce043337
Adjust ordering sequence for StockItem
2021-11-10 11:00:43 +11:00
Oliver
738ba4eddf
Data migration to initially update serial number fields for all stock items
...
- Also automatically updates serial_int field when saving StockItem
2021-11-10 10:59:48 +11:00
Oliver
257be18d79
Add 'serial_int' field to stockitem model
...
- Allows for integer sorting of stock items
2021-11-10 10:47:17 +11:00
Oliver
85b906f49d
Adds "stock" column sorting for stock table
2021-11-10 09:48:52 +11:00
Oliver
ab32ab0b3b
Merge pull request #2277 from SchrodingersGat/multi-report-fix
...
Fix for printing multiple reports at once
2021-11-10 09:26:55 +11:00
Oliver
56bf0f0487
Fix for printing multiple reports at once
...
(bug introduced in 79434bb
)
2021-11-10 09:03:15 +11:00
Oliver
3dae0c9c1c
Remove old unit test code
2021-11-10 08:48:51 +11:00
Oliver
cfb873bb4f
Bug fix for loading part table without enabling grid view
2021-11-09 22:47:19 +11:00
Oliver
db31bf91e6
Improve display of "no response from server" message
2021-11-09 22:41:54 +11:00
Oliver
e303b5a39b
Catch for null value for settings choices
2021-11-09 22:37:50 +11:00
Oliver
8d7b73e2a8
Adds support for "multiple choice" field
2021-11-09 22:25:42 +11:00
Oliver
721d10a9ec
Allow empty URLs
2021-11-09 22:14:26 +11:00
Oliver
1e80e33634
typo fix
2021-11-09 21:49:14 +11:00
Oliver
11dd187df2
javascript linting
2021-11-09 21:43:47 +11:00
Oliver
7dce9f3f3b
PEP fixes
2021-11-09 21:37:54 +11:00
Oliver
476d2545ad
Remove old server-side view
2021-11-09 21:33:32 +11:00
Oliver
eb5b810be0
Update displayed setting when API returns success
2021-11-09 21:29:31 +11:00
Oliver
5df4374607
javascript for editing settings via API
2021-11-09 21:16:37 +11:00
Oliver
324335a620
Convert to "native value" in the serializer
2021-11-09 17:43:36 +11:00
Oliver
4433befbdc
Add list of 'choices' (read only) to serializer
...
- Check that the specified value is one of the valid options (if provided)
2021-11-09 17:21:59 +11:00
Oliver
07851f0b2c
Include 'setting type' in API data
2021-11-09 17:07:41 +11:00
Oliver
0374c27d7c
Adds "detail" view for user setting
...
- Users can only view / edit their own settings
2021-11-09 16:14:10 +11:00
Oliver
f3b4f7aa28
Add "detail" view for global settings objects
...
- Can view and edit (but not delete)
- User must have "staff" status to access
2021-11-09 16:07:25 +11:00
Oliver
cb583eb466
Add LIST endpoint for global settngs and user settings
...
- Read only, cannot create new settings
- User settings filters against the user making the request
2021-11-09 15:59:09 +11:00
Oliver
30684685f9
Add unit test to check an "empty" (null) barcode can be supplied
2021-11-09 12:07:57 +11:00
Oliver
1520c296dd
Merge pull request #2270 from SchrodingersGat/navbar-fix
...
Fixes navbar menu positioning for smaller screens
2021-11-08 17:44:21 +11:00
Oliver
f1eaeef949
PEP fixes
2021-11-08 16:53:43 +11:00
Oliver
ca0619a482
Adds API filtering for the "user" list
2021-11-08 16:53:15 +11:00
Oliver
3d553cf7de
Adds search capability to "owner" API
...
- Currently a bit of a hack, but it works...
2021-11-08 16:49:15 +11:00
Oliver
cb075ed2c2
Fix logic for converting stock items to applicable variants
2021-11-08 15:10:41 +11:00
Oliver
64f5007d3a
Fix missing actions for stock item
...
(cherry picked from commit c128438ebf
)
2021-11-08 14:50:03 +11:00
Oliver
35cfa387d1
Fixes navbar menu positioning for smaller screens
2021-11-08 13:38:03 +11:00
Oliver
b2ae346343
Provide model-level default function option
2021-11-08 13:30:59 +11:00
Oliver
8d5c3ab18a
add extra icons for build order form
2021-11-08 13:10:33 +11:00
Oliver
9c2193a4cc
Merge pull request #2265 from matmair/matmair/issue2257
...
Matmair/issue2257
2021-11-08 11:10:53 +11:00
Oliver
a12baadc09
Merge pull request #2266 from SchrodingersGat/login-tweaks
...
Login tweaks
2021-11-08 10:19:23 +11:00
Oliver
ac97edd18b
JS linting
2021-11-08 09:58:55 +11:00
Oliver
c9924470ad
Replace dialog messages with alerts
2021-11-08 09:44:45 +11:00
Oliver
ef75838ab8
Properly display notifications when logging in
2021-11-08 09:34:57 +11:00
Oliver
079c08ef7d
Tweaks to account screens css
2021-11-08 09:34:42 +11:00
Matthias Mair
87539c7aac
select for languages should be wide enough
2021-11-06 20:59:02 +00:00
Matthias Mair
30aa072537
fix message
2021-11-06 20:49:09 +00:00
Matthias Mair
45b7bc0c51
always show the current language
2021-11-06 20:41:52 +00:00
Matthias Mair
dccc832779
fix logic
2021-11-06 20:41:29 +00:00
Matthias Mair
cea466973a
Check if language has enough translations
...
Fixes #2257
2021-11-06 19:55:02 +00:00
Matthias Mair
857cdd5aea
Enlsigh is the base - always translated!
...
Fixes #2257
2021-11-06 17:41:11 +00:00
Matthias Mair
bbd723a176
fix QR code alingment
2021-11-06 15:11:31 +00:00
Matthias Mair
ad5ba96278
move toggler to the end
2021-11-06 15:07:01 +00:00
Matthias Mair
19a3568511
fix nav arranging on mobile
2021-11-06 15:02:40 +00:00
Matthias Mair
d604b2afff
make padding uniform
2021-11-06 14:44:46 +00:00
Matthias Mair
5550c89b9a
make padding uniform
2021-11-06 14:44:31 +00:00
Oliver
42155b2e05
Adds a fancy shadow
2021-11-05 13:51:26 +11:00
Oliver
174100ed6d
Merge pull request #2260 from SchrodingersGat/sales-order-reference-fix
...
Check if customer exists when rendering sales order template
2021-11-05 11:23:13 +11:00
Oliver
1743111613
Check if customer exists when rendering sales order template
...
Fixes https://github.com/inventree/InvenTree/issues/1742
2021-11-05 11:03:38 +11:00
Oliver
f970255066
Merge pull request #2259 from SchrodingersGat/dialog-escapes
...
Allow escape key on barcode modal
2021-11-05 10:58:57 +11:00
Oliver
1f1cf9f9e4
Allow escape key on barcode modal
2021-11-05 10:39:03 +11:00
Oliver
bf4de526ac
Typo fix
2021-11-05 10:20:47 +11:00
Oliver
083967b156
Merge pull request #2198 from SchrodingersGat/stock-item-forms
...
Stock item forms
2021-11-05 07:37:33 +11:00
Oliver
185924e1f8
More linting
2021-11-05 00:35:47 +11:00
Oliver
5a0ff4c077
JS linting
2021-11-05 00:32:11 +11:00
Oliver
78ac40083a
Fixes for stock api unit tests
...
- Remove old unit tests
- Require quantity when creating a new stock item
2021-11-05 00:27:26 +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
b41dbba2b0
Correctly handle serialization of newly created stock
2021-11-04 23:18:59 +11:00
Oliver
3be4acf3ef
More refactoring for notifications
...
- Adds default behaviour for successful stock item creation
2021-11-04 23:09:49 +11:00
Oliver
97326d9fb2
Display stock item owner (if applicable)
2021-11-04 22:45:11 +11:00
Oliver
b65f950864
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-04 22:40:09 +11:00
Oliver
71bb6fff50
Add option to hide inactive parts in search preview window
2021-11-04 22:25:35 +11:00
Oliver
ceba5b7312
Merge pull request #2249 from SchrodingersGat/search-dropdown-fix
...
Fixes for search auto-complete dropdown menu
2021-11-04 17:26:12 +11:00
Oliver
f0e44f0efd
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-04 17:24:30 +11:00
Oliver
76b5bc067a
Fix notes field
2021-11-04 17:06:52 +11:00
Oliver
3ceb6f6ba8
Fix barcode input
2021-11-04 17:04:47 +11:00
Oliver
b1598cfd10
- style fixes
...
- add part description as mouse-over text
2021-11-04 17:02:52 +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
9cfcb6579f
Fixes for search auto-complete dropdown menu
...
- Fix rendering of badges
- Menu fills out right-to-left
2021-11-04 16:48:24 +11:00
Oliver
39d3a127e1
Template improvements
2021-11-04 16:19:57 +11:00
Oliver
3a7f8c9196
Fix comparison operator
2021-11-04 16:18:49 +11:00
Oliver
75d7530e30
Fix missing tag in template
2021-11-04 16:17:05 +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
3b052e6bce
Merge pull request #2247 from SchrodingersGat/tree-view-fixes
...
Fix for tree-view
2021-11-04 15:30:07 +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
47f6a8266d
Fix for tree-view
...
- Force "cascade" to be set
2021-11-04 15:08:22 +11:00
Oliver
42a794e8e4
Fix CI errors
2021-11-04 15:05:54 +11:00
Oliver
01191d84c5
Only run check stock function when updating an existing part
2021-11-04 14:32:42 +11:00
Oliver
99b324d1ef
Add a post-save hook the "Build" model to check stock
2021-11-04 14:30:23 +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
be543ca3da
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-04 10:57:40 +11:00
Oliver
3b56895f4d
Merge branch 'master' into stock-item-forms
2021-11-04 10:34:49 +11:00
Oliver
b279317f89
Button style fixes
2021-11-04 10:24:47 +11:00
Oliver
4118f98d4d
Display more errors
2021-11-04 10:17:38 +11:00
Oliver
b6d48cab2a
Make further use of notification messages
2021-11-04 10:14:01 +11:00
Oliver
df30a85c03
More fixes:
...
- Add "back to site" button on logout screen
- Add favicon to account pages
- Refactor notifications / alerts / caching
2021-11-04 09:59:56 +11:00
Oliver
4e7825df13
Fix javascript issues on login screens
2021-11-04 09:26:32 +11:00
Oliver
d4a8f5823c
Fix for missing template file
2021-11-04 09:13:13 +11:00
Oliver
52242e7a00
Catch error
2021-11-04 08:40:38 +11:00
Oliver
3a61d11f5a
Adds a scheduled task to remove old notification entries from the database
2021-11-04 01:33:26 +11:00
Oliver
6c724556f1
PEP fixes
2021-11-04 01:21:08 +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
bebf368d06
Add functionality and unit testing for new model
2021-11-04 01:11:42 +11:00
Oliver
1f7676ee65
Add admin entry for new model
2021-11-04 01:06:57 +11:00
Oliver
e7b93a54d8
Add new model "NotificationEntry"
...
- Keep track of past notifications
2021-11-04 00:55:43 +11:00
Oliver
ef2307aeaa
Add new model to permissions table
2021-11-04 00:46:23 +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
193d6b334c
Add option to display "starred categories" on the index page
2021-11-03 23:29:36 +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
4cf6b9bd31
Remove old function
2021-11-03 17:59:08 +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
c4ea3ecf6f
Bug fix for stock location table
...
(cherry picked from commit 44794d7b78520023e3b70da61dc13938bfd4bd14)
2021-11-03 13:33:57 +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
1d42d33c8e
style fixes
2021-11-03 11:33:44 +11:00
Oliver
be7b224f14
Adds API endpoint for serialization of stock items
2021-11-03 10:12:42 +11:00
Nigel
eecd477a34
Add redis cache to postgres testcase
2021-11-02 16:37:31 -06:00
Nigel
e8c2d4da10
Add support for using redis as a cache and a broker
2021-11-02 16:37:28 -06:00
Oliver
2b69d9c2af
Correctly serialize stock when creating via the API
2021-11-03 07:41:47 +11:00
Oliver
ad4c4f2a6d
Stock item duplication now works with the API forms
2021-11-03 07:28:21 +11:00
Oliver
aaf27d4098
Adds new buttons to create a new stock item
2021-11-03 07:27:58 +11:00
Oliver
d8e3c40f78
Implementing more complex behaviour for StockItem creation form
2021-11-02 23:04:10 +11:00
Oliver
ef305032c9
Create new stock location via API forms
2021-11-02 20:04:54 +11:00
Oliver
0d9c08b49c
StockLocationEdit
2021-11-02 19:58:25 +11:00
Oliver
4c8bc9580c
stock-item-edit is looking OK now
2021-11-02 19:51:46 +11:00
Oliver
d357e982f5
Revert stock-item detail template to mater
2021-11-02 19:43:17 +11:00
Oliver
c3c4aca829
Fix action buttons for stock-item detail page
2021-11-02 19:29:26 +11:00
Oliver
8725837460
Merge remote-tracking branch 'inventree/master' into stock-item-forms
2021-11-02 19:25:11 +11:00
Oliver
4bfdf21107
Change "star" icon to "bullhorn" icon
2021-11-02 15:07:20 +11:00
Oliver
1dea7861d0
Refactor email body out into a template
...
- Will be useful in the future when more email functionality is implemented
2021-11-02 14:43:57 +11:00
Oliver
e3dfb6cbc8
Improve messaging
2021-11-02 13:08:10 +11:00
Oliver
a3889c709e
More tweaks
2021-11-02 12:57:40 +11:00
Oliver
fc9ca5e481
Pretty badges for email accounts
2021-11-02 12:54:41 +11:00
Oliver
ec147ea25f
Further work on email settings page
2021-11-02 12:49:44 +11:00
Oliver
d1f2d960be
Refactor "user account" page
2021-11-02 12:15:46 +11:00
Oliver
489d085de8
Refactor "category" settings page
2021-11-02 11:32:57 +11:00
Oliver
66b078e4b9
Refactor part settings page
2021-11-02 11:31:24 +11:00
Oliver
2abcb114a8
Visual improvements for "currency" page
2021-11-02 11:28:46 +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
dabaa9aea5
Adds a function to construct an "absolute" URL
...
Useful for providing an external link (e.g. in an email)
2021-11-01 23:44:44 +11:00
Oliver
9cbc2b82b5
Merge pull request #2208 from rocheparadox/master
...
Email notification for low stock
2021-11-01 22:45:49 +11:00
Matthias
33d61d8cb5
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2181
2021-11-01 12:31:35 +01:00
Oliver
a1608396cd
Expand navbar spacer
2021-11-01 14:16:14 +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
Oliver
2662ba1202
Merge branch 'master' into stock-item-forms
2021-11-01 12:43:32 +11:00
Oliver
f607841601
Fix navbar spacing when "sticky-header" is enabled
2021-11-01 12:07:07 +11:00
Oliver
ad0277a8c3
Merge branch 'master' into stock-item-forms
...
# Conflicts:
# InvenTree/stock/serializers.py
# InvenTree/stock/templates/stock/item_base.html
2021-11-01 12:00:40 +11:00
Oliver
94a86e52f8
Merge pull request #2224 from matmair/remove-breadrcumb-space
...
remove breadcrub div where no breadcrumb is added
2021-11-01 11:57:21 +11:00
Matthias Mair
05a86c863f
Update page_base.html
2021-11-01 01:38:21 +01:00
Oliver
b64f0e1f54
Merge pull request #2222 from matmair/ui-navbar
...
UI tweaks
2021-11-01 11:30:27 +11:00
Matthias
338e85ff52
remove breadcrub div where no breadcrumb
2021-11-01 01:09:08 +01:00
Matthias
9a346dd3e2
Revert "remove breadcrub div where no breadcrumb"
...
This reverts commit 2c9b03944f
.
2021-11-01 01:07:13 +01:00
Matthias Mair
c775d030f9
Merge branch 'inventree:master' into matmair/issue2181
2021-11-01 01:06:18 +01:00
Matthias
8da2865299
setting sidebar header different color to items
2021-11-01 00:11:01 +01:00
Matthias
62aa014f6b
add button for navbar toogle
2021-11-01 00:09:38 +01:00
Matthias
2c9b03944f
remove breadcrub div where no breadcrumb
2021-11-01 00:08:39 +01:00
Matthias
f0a558c1e2
remove unneeded spacing
2021-11-01 00:06:08 +01:00
Oliver
80e741fe1b
Further improvements for filter elements
2021-11-01 09:21:42 +11:00
Oliver
1f537a50b2
Fix weird height issue for filter tag
2021-11-01 09:11:08 +11:00
Matthias Mair
037f2a9438
Merge branch 'inventree:master' into matmair/issue2181
2021-10-31 23:04:55 +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
60c2aab06d
remove unused imports
2021-10-31 11:30:14 +05:30
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
rocheparadox
fca15a0439
added arbitrary args and arbitrary keyword args while executing a function synchronously from offload_task() in inventree.tasks
2021-10-31 11:21:06 +05:30
Oliver
9057462588
Merge pull request #2212 from matmair/matmair/issue2210
...
Fix for actions wrapping on smaller screens
2021-10-31 09:09:27 +11:00
Matthias Mair
20a129f396
Merge branch 'inventree:master' into matmair/issue2181
2021-10-30 17:24:03 +02:00
Matthias Mair
6ce10736af
Merge branch 'inventree:master' into matmair/issue2210
2021-10-30 17:23:55 +02:00
Matthias Mair
108f715ef6
Merge branch 'inventree:master' into matmair/issue2213
2021-10-30 17:23:51 +02:00
rocheparadox
6ec2801fce
Facilitated translation for low stock notification subject
...
moved the message/content of low stock notification to html template
Facilitated translation in low stock notification html template file
2021-10-30 20:32:10 +05:30
Matthias Mair
14680531f0
[BUG] Auth screens broken
...
Fixes #2213
2021-10-30 14:05:40 +00:00