Commit Graph

8417 Commits

Author SHA1 Message Date
Matthias 7fbf25840f
fix problem with iso format dates 2021-11-04 03:44:30 +01:00
Matthias 93a28bbaba
enable setup hooks
Fixes #2218
2021-11-04 03:43:39 +01:00
Matthias 83d0693013
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-03 21:25:04 +01: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 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 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
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 f607841601 Fix navbar spacing when "sticky-header" is enabled 2021-11-01 12:07:07 +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 d89cb0936c
Merge branch 'inventree:master' into plugin-2037 2021-11-01 01:06:26 +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 0d836530e4
Merge branch 'inventree:master' into plugin-2037 2021-10-31 23:04:50 +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 199254dfe9
adjust navigation integration to new style 2021-10-30 22:35:47 +02:00
Matthias 0ae514e7be
hide breadcrumb section 2021-10-30 22:15:21 +02:00
Matthias 13cc329dc6
remove unneeded headers 2021-10-30 22:14:57 +02:00
Matthias Mair b31a1aa4cc fix plugin rendering in settings nav 2021-10-30 18:10:56 +00:00
Matthias 703c8a31b1
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-10-30 18:23:09 +02:00
Matthias Mair 6ce10736af
Merge branch 'inventree:master' into matmair/issue2210 2021-10-30 17:23:55 +02:00