Commit Graph
100 Commits
Author SHA1 Message Date
Oliver c128438ebf Fix missing actions for stock item 2021-11-08 14:47:14 +11:00
OliverandGitHub bcc086657a Merge pull request #2269 from SchrodingersGat/bo-form
Improvements for build order forms
2021-11-08 14:28:34 +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
OliverandGitHub 9c2193a4cc Merge pull request #2265 from matmair/matmair/issue2257
Matmair/issue2257
2021-11-08 11:10:53 +11:00
OliverandGitHub a12baadc09 Merge pull request #2266 from SchrodingersGat/login-tweaks
Login tweaks
2021-11-08 10:19:23 +11:00
OliverandGitHub 96e8c499fc Merge pull request #2262 from matmair/ui-tweaks
Small UI tweaks
2021-11-08 10:00:20 +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
OliverandGitHub 7ee5f6c71b Merge pull request #2261 from SchrodingersGat/shadow
Adds a fancy shadow
2021-11-05 14:21:14 +11:00
Oliver 42155b2e05 Adds a fancy shadow 2021-11-05 13:51:26 +11:00
OliverandGitHub 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
OliverandGitHub f970255066 Merge pull request #2259 from SchrodingersGat/dialog-escapes
Allow escape key on barcode modal
2021-11-05 10:58:57 +11:00
OliverandGitHub cb990af3a9 Merge pull request #2258 from SchrodingersGat/typo-fix
Typo fix
2021-11-05 10:43:49 +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
OliverandGitHub 46fc1e19d5 Merge pull request #2254 from SchrodingersGat/docker-stable
Target production docker-compose script to inventree:stable
2021-11-05 08:15:49 +11:00
Oliver ab3acc4601 Target production docker-compose script to inventree:stable 2021-11-05 07:52:15 +11:00
OliverandGitHub 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
OliverandGitHub ce30b852e7 Merge pull request #2252 from SchrodingersGat/hide-inactive
Add option to hide inactive parts in search preview window
2021-11-04 23:06:54 +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
OliverandGitHub 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
OliverandGitHub 2130b02e7f Merge pull request #2193 from matmair/matmair/issue2181
Add missing part import fields
2021-11-04 16:54:30 +11:00
OliverandGitHub 345bccb9bc Merge pull request #2248 from SchrodingersGat/email-fixes
Fixes for low-stock emails
2021-11-04 16:48:28 +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
OliverandGitHub 3b052e6bce Merge pull request #2247 from SchrodingersGat/tree-view-fixes
Fix for tree-view
2021-11-04 15:30:07 +11:00
OliverandGitHub 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
OliverandGitHub 5cd2a14314 Merge pull request #2245 from SchrodingersGat/bom-export-fix
Refactored bom export
2021-11-04 12:28:01 +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
OliverandGitHub 8025dab69b Merge pull request #2244 from SchrodingersGat/notification-fox
Fix for missing template file
2021-11-04 10:56:48 +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
OliverandGitHub 7aacd8b36c Merge pull request #2242 from matmair/patch-1
Small fixes for bug report template
2021-11-04 09:57:27 +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
OliverandGitHub 0e2e6211b6 Merge pull request #2233 from SchrodingersGat/subscription-refactor
Refactor "star" functionality for part model
2021-11-04 09:05:03 +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
OliverandGitHub 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
OliverandGitHub 7d20003137 Merge pull request #2238 from SchrodingersGat/table-fix
Table fix
2021-11-03 13:57:54 +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
OliverandGitHub 08719d4d1b Merge pull request #2236 from SchrodingersGat/badge-fix
Fix CSS for user badges
2021-11-03 12:41:10 +11:00
OliverandGitHub d0e80b7638 Merge pull request #2235 from SchrodingersGat/duplicate-bom-import-fix
Template fix for BOM upload
2021-11-03 12:41:03 +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
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