Roche Christopher and GitHub
a3103cf568
Added onInput event for fields in forms - fix for issue #7600 ( #7660 )
...
An onInput event is added for fields in forms that gets triggered everytime an input is detected in the field
2024-07-16 12:11:20 +10: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
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
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
rocheparadox
e0cd02ee60
added dispatch_uid to post_save signal of StockItem
2021-10-30 08:30:39 +05:30
rocheparadox
83309fd054
Fixed the order of fixtures installation for testing
2021-10-30 08:16:42 +05:30
rocheparadox
f2207cc6f8
Merge remote-tracking branch 'upstream/master'
2021-10-30 08:14:53 +05:30
rocheparadox
d8796f9535
Notify users who have starred a part when that part's stock quantity falls below the minimum quanitity/threshold through email.
2021-10-29 16:03:41 +05:30
rocheparadox
5a6bea3452
improve regex for part name format validation
...
proper import of validation
2021-10-14 09:35:26 +05:30
rocheparadox
ee9e01fc22
removed unused import
2021-10-14 09:26:26 +05:30
rocheparadox
8cad687e43
Moved part name format validation to InvenTree.validators.py from common.models
...
validation to check if a field exists in part model
2021-10-14 09:23:21 +05:30
Roche and GitHub
b2670f3565
Merge pull request #1 from matmair/pr/rocheparadox/2138
...
fix default setting to not change current behaviour
2021-10-13 22:06:56 +05:30
rocheparadox
0742fb063c
comment cleanup
2021-10-13 10:58:36 +05:30
rocheparadox
294011a973
Merge remote-tracking branch 'upstream/master'
2021-10-13 10:10:59 +05:30
rocheparadox
5f159e5f02
Merge remote-tracking branch 'upstream/master'
2021-10-12 20:07:14 +05:30
rocheparadox
a01918d4b9
removed blank line at the end of file
2021-10-12 19:54:09 +05:30
rocheparadox
4fddc656c4
removed unused import
...
added unit tests for PART_NAME_FORMAT
2021-10-12 19:51:21 +05:30
rocheparadox
2bf51b0ac3
Added PART_NAME_FORMAT to Inventree settings and exposed the same in settings window with a validator
2021-10-12 19:06:23 +05:30
rocheparadox
f4239fbfd3
Merge remote-tracking branch 'upstream/master'
2021-10-12 18:54:51 +05:30
rocheparadox
beadfb4659
Merge remote-tracking branch 'upstream/master'
2021-10-11 22:29:01 +05:30
rocheparadox
2d77b21a4e
PART_NAME_FORMAT is introduced to display the names of parts in custom format. - For Feature Request InvenTree#2085
...
full_name construction in part.js is obsolete/redundant since the same is constructed in backend and sent through api response
2021-10-11 22:21:12 +05:30
rocheparadox
c1a827819c
css for part to occupy full height - fix for bug Inventree#1848
2021-09-20 17:00:45 +05:30