Oliver Walters
|
731ec25b24
|
Merge remote-tracking branch 'inventree/master' into django-q
# Conflicts:
# .github/workflows/style.yaml
# .travis.yml
# InvenTree/InvenTree/settings.py
|
2021-03-31 22:17:38 +11:00 |
|
Oliver Walters
|
82b6c48946
|
Specify database name
|
2021-03-31 21:48:54 +11:00 |
|
Oliver Walters
|
566c3af39e
|
Environment variables take preference!
|
2021-03-31 21:40:19 +11:00 |
|
Oliver Walters
|
5d141e3568
|
Always print database config
|
2021-03-31 21:24:14 +11:00 |
|
Oliver Walters
|
c846e2e65a
|
Use env variables rather than custom ci scripts
|
2021-03-31 20:39:22 +11:00 |
|
Oliver Walters
|
c66dddc03f
|
Force TCP for postgres
|
2021-03-31 20:14:57 +11:00 |
|
Oliver Walters
|
6b99808c52
|
Run as root
|
2021-03-31 20:12:45 +11:00 |
|
Oliver Walters
|
61d14a0eda
|
Database naming fix
|
2021-03-31 20:07:42 +11:00 |
|
Oliver Walters
|
5aea35f8fa
|
Force TCP
|
2021-03-31 20:04:18 +11:00 |
|
Oliver Walters
|
70703f8588
|
Try localhost
|
2021-03-31 19:48:20 +11:00 |
|
Oliver Walters
|
67a4c5a9a2
|
Try pointing to different host
|
2021-03-31 19:45:58 +11:00 |
|
Oliver Walters
|
f8d29b7b3b
|
Typo
|
2021-03-31 17:36:33 +11:00 |
|
Oliver Walters
|
9e4218d02f
|
Mysql fixes
|
2021-03-31 17:34:12 +11:00 |
|
Oliver Walters
|
d09483f30c
|
Workflow fixes
|
2021-03-31 17:28:30 +11:00 |
|
Oliver Walters
|
d1a42f55a2
|
Fix flake issues
|
2021-03-31 17:20:12 +11:00 |
|
Oliver Walters
|
bdd5fa96e7
|
Add tests for mysql and postgresql
|
2021-03-31 17:18:04 +11:00 |
|
Oliver Walters
|
4f87c848a5
|
Ensure flake8 fails
|
2021-03-31 17:17:40 +11:00 |
|
eeintech
|
0b1f22c7fd
|
Almost there, needs some interface testing and tweaking
|
2021-03-30 18:08:33 -04:00 |
|
eeintech
|
9c8817d73b
|
Fixed serializers and started update of templates
|
2021-03-30 16:48:16 -04:00 |
|
eeintech
|
811f9333e8
|
SupplierPart manufacturer data is not serializing
|
2021-03-30 13:55:20 -04:00 |
|
eeintech
|
a4d098194b
|
New SupplierPart manufacturer_part field
New migration file with database update to manufacturer parts
Removed SourceItem model
|
2021-03-30 13:14:30 -04:00 |
|
eeintech
|
e78455085f
|
Merge branch 'master' of github.com:inventree/InvenTree into manufacturer_part
|
2021-03-30 11:30:47 -04:00 |
|
Oliver Walters
|
39b2c5f943
|
Reintroduce default database config
|
2021-03-30 21:18:09 +11:00 |
|
Oliver Walters
|
3ddbb6a6cd
|
Check for empty values
|
2021-03-30 20:53:26 +11:00 |
|
Oliver
|
fd01e23245
|
Merge pull request #1430 from SchrodingersGat/missing-permission-fix
Emit warning rather than raise error
|
2021-03-30 10:28:54 +11:00 |
|
Oliver Walters
|
1a288168b7
|
PEP fixes
|
2021-03-30 10:00:43 +11:00 |
|
Oliver
|
f288b906ad
|
Merge pull request #1426 from SchrodingersGat/assign-by-sn
Assign by sn
|
2021-03-30 09:29:49 +11:00 |
|
Oliver Walters
|
58c30f48d5
|
Remove extra whitespace
|
2021-03-30 09:28:02 +11:00 |
|
Oliver Walters
|
bfbdd72306
|
Remove unused import
|
2021-03-30 08:43:09 +11:00 |
|
Oliver Walters
|
0b78f3d931
|
Add unit testing for migrations
|
2021-03-30 08:42:44 +11:00 |
|
Oliver Walters
|
32cfe1b954
|
Emit warning rather than raise error
- All calling functions check for None anyway
|
2021-03-30 08:25:51 +11:00 |
|
Oliver Walters
|
408b9d5e5b
|
Fix for unit testing
|
2021-03-30 08:08:55 +11:00 |
|
eeintech
|
50adb2ac61
|
SourceItem only for SupplierPart, added logic to templates
|
2021-03-29 15:39:25 -04:00 |
|
eeintech
|
e6dfb7da52
|
Added global setting to enable manufacturer parts
Created SourceItem model
Updated templates
|
2021-03-29 13:22:15 -04:00 |
|
eeintech
|
cbb887ae79
|
Merge branch 'master' of github.com:inventree/InvenTree into manufacturer_part
|
2021-03-29 10:12:20 -04:00 |
|
Oliver Walters
|
709bfb1bd2
|
Remove "unique" constraint for part / order relationship
|
2021-03-30 00:14:47 +11:00 |
|
Oliver Walters
|
217097c9d3
|
Add custom form template
|
2021-03-30 00:10:28 +11:00 |
|
Oliver Walters
|
19059ea4cf
|
Tweaks
|
2021-03-29 23:38:38 +11:00 |
|
Oliver Walters
|
d64dd68403
|
Agk, working out forms is hard
|
2021-03-29 23:32:41 +11:00 |
|
Oliver Walters
|
bd87f4c733
|
Adds form to assign stock item by serial numbers
|
2021-03-29 23:10:36 +11:00 |
|
Oliver Walters
|
cffe2ba84b
|
Add a separate form for creating a sales order allocation
|
2021-03-29 16:44:01 +11:00 |
|
Oliver Walters
|
7a4b90649a
|
HTML / CSS fixes
|
2021-03-29 16:36:27 +11:00 |
|
Matthias
|
a3ab70b05d
|
finished german translation, small corrections
|
2021-03-28 18:09:35 +02:00 |
|
Matthias
|
c558a04162
|
updated translation reference
|
2021-03-28 18:08:07 +02:00 |
|
Oliver
|
1ffd3a0070
|
Merge pull request #1409 from eeintech/fix_stock_ops
Template fix for stock actions
|
2021-03-28 20:42:14 +11:00 |
|
eeintech
|
e0a0bfdadb
|
Fix style
|
2021-03-25 15:39:16 -04:00 |
|
eeintech
|
c85d737446
|
Fix CI
|
2021-03-25 15:04:48 -04:00 |
|
eeintech
|
fd4f33d45b
|
More templates updates
|
2021-03-24 12:39:26 -04:00 |
|
eeintech
|
4abd8587ab
|
Updated company templates
|
2021-03-24 12:08:45 -04:00 |
|
eeintech
|
afd2dacfc7
|
Can now create, view list of parts and view detail page
|
2021-03-24 11:44:51 -04:00 |
|
Oliver Walters
|
df0ab2359f
|
Remove invoke tasks which perform system commands
- tasks.py is now for InvenTree specific tasks only
|
2021-03-24 22:24:47 +11:00 |
|
eeintech
|
e28dde7f7b
|
Fixed navbar, added missing template and urls
|
2021-03-23 17:45:03 -04:00 |
|
eeintech
|
08ffbee8ed
|
Fixed model name and added to part navbar
|
2021-03-23 17:33:29 -04:00 |
|
eeintech
|
8f610d826f
|
Added URLs and templates
|
2021-03-23 17:16:29 -04:00 |
|
eeintech
|
e897864396
|
Added ManufacturerPart model, form and views
|
2021-03-23 17:01:54 -04:00 |
|
Oliver Walters
|
edbbfff1af
|
Reduce frequency of heartbeat
|
2021-03-23 19:58:29 +11:00 |
|
Oliver Walters
|
8fd666e662
|
Improvements for "check for updates" task
- Let it throw an error if something fails
- Errors are caught as "unsuccessful tasks"
|
2021-03-22 11:20:09 +11:00 |
|
Oliver
|
57289fe141
|
Merge pull request #1410 from SchrodingersGat/image-downloader
Image downloader
|
2021-03-18 11:10:07 +11:00 |
|
Oliver Walters
|
9c91ba4692
|
Add image download functionality for company
|
2021-03-18 09:20:24 +11:00 |
|
Oliver Walters
|
4e7243b999
|
Add modal image overlay for company
|
2021-03-17 23:55:21 +11:00 |
|
Oliver Walters
|
e3a5a56371
|
Add "modal image" display for part thumbnails
|
2021-03-17 23:44:47 +11:00 |
|
Oliver Walters
|
db47629867
|
Cleanup
|
2021-03-17 23:15:48 +11:00 |
|
Oliver Walters
|
8b310d8e47
|
Check length of response
|
2021-03-17 23:11:38 +11:00 |
|
Oliver Walters
|
be30933bfa
|
Add custom form template
|
2021-03-17 23:06:56 +11:00 |
|
Oliver Walters
|
9a710ca28f
|
Fix image download code
|
2021-03-17 23:02:32 +11:00 |
|
Oliver Walters
|
47a1143570
|
Catch error when generating company thumbnail images
|
2021-03-17 11:55:51 +11:00 |
|
Oliver Walters
|
5f19f534fc
|
Catch error if invalid image is uploaded
|
2021-03-17 09:47:57 +11:00 |
|
Oliver Walters
|
15678f789c
|
Add global setting to enable download of files / images from remote URL
|
2021-03-17 08:40:30 +11:00 |
|
Oliver Walters
|
45edb7e802
|
Add button
|
2021-03-17 08:28:38 +11:00 |
|
Oliver Walters
|
5b7d35e6f7
|
add View
|
2021-03-17 08:28:28 +11:00 |
|
Oliver Walters
|
3900f9b1b6
|
Add form for submitting image URL
|
2021-03-17 08:28:12 +11:00 |
|
eeintech
|
8619af9f09
|
Template fix for stock actions
|
2021-03-16 12:32:56 -04:00 |
|
eeintech
|
85474516a3
|
Merge branch 'master' of github.com:inventree/InvenTree into ipn_edit_setting
|
2021-03-16 10:23:27 -04:00 |
|
Oliver Walters
|
6946abae13
|
CSS fix for modal error info dialog
|
2021-03-16 16:42:33 +11:00 |
|
Oliver
|
5e48009241
|
Merge pull request #1407 from eeintech/bom_match_headers
Split required and part match headers for BOM import
|
2021-03-16 08:19:32 +11:00 |
|
eeintech
|
64a57128bc
|
Return True for BOM valid flag if part does not have BOM items
|
2021-03-15 10:37:30 -04:00 |
|
eeintech
|
d39bd88440
|
Split required and part match headers for BOM import
|
2021-03-15 09:41:04 -04:00 |
|
eeintech
|
7b81a470b9
|
Merge branch 'master' of github.com:inventree/InvenTree into ipn_edit_setting
|
2021-03-15 08:50:31 -04:00 |
|
Oliver Walters
|
2de879d2ba
|
Add option to hide form error message
|
2021-03-15 20:30:18 +11:00 |
|
Oliver Walters
|
9918860820
|
Small tweak for breadcrumb div css
|
2021-03-15 17:00:14 +11:00 |
|
Oliver Walters
|
c6e154f996
|
PEP style fixes
|
2021-03-15 10:15:48 +11:00 |
|
Oliver Walters
|
c1aed51de1
|
Fix import error
|
2021-03-15 09:34:32 +11:00 |
|
Oliver Walters
|
24823adc6d
|
Adds unit tests for version number comparison
|
2021-03-15 08:51:50 +11:00 |
|
Oliver Walters
|
6ea846ce45
|
Add a #TODO
|
2021-03-15 08:36:27 +11:00 |
|
Oliver Walters
|
f6dd710d6e
|
Automatically delete old heartbeat messages
|
2021-03-15 08:35:06 +11:00 |
|
Oliver Walters
|
de85d61451
|
Directly compare version tuples, rather than converting to primitive
|
2021-03-15 08:31:19 +11:00 |
|
Oliver
|
5ff18a0a3a
|
Merge pull request #1403 from matmair/translations-de
unified translation scheme
|
2021-03-15 08:27:24 +11:00 |
|
Oliver
|
82faccc62f
|
Merge pull request #1401 from eeintech/stock_filter_assembly
Stock filter for parts assemblies
|
2021-03-13 07:48:15 +11:00 |
|
eeintech
|
acb0b2c10a
|
Fixed build typo
|
2021-03-12 11:46:56 -05:00 |
|
eeintech
|
429f9d0a13
|
Removed test print
|
2021-03-12 11:19:20 -05:00 |
|
eeintech
|
89c7c87f1e
|
Add stock filter for parts assemblies
|
2021-03-12 11:18:19 -05:00 |
|
eeintech
|
b152f7041b
|
Add setting to disable IPN editing after part is created (web only)
|
2021-03-12 10:30:31 -05:00 |
|
Oliver Walters
|
700effcee7
|
Remove celery reference
|
2021-03-12 16:57:27 +11:00 |
|
Oliver Walters
|
18b559fee7
|
Fix for unit test
|
2021-03-12 16:28:54 +11:00 |
|
Oliver Walters
|
9d404afec0
|
Add 'ignore' rules for the django-q tables
|
2021-03-12 16:00:25 +11:00 |
|
Oliver Walters
|
51616c8aca
|
Merge remote-tracking branch 'upstream/master' into django-q
|
2021-03-12 15:47:03 +11:00 |
|
Oliver Walters
|
ef4dbda223
|
Catch errors if the DB is not up
|
2021-03-12 15:35:55 +11:00 |
|
Oliver Walters
|
006dd10a79
|
Delete successful tasks more than a month old
|
2021-03-12 15:35:33 +11:00 |
|
Oliver Walters
|
5b8eb1c530
|
Newline
|
2021-03-12 15:27:53 +11:00 |
|
Oliver Walters
|
bfb0cb3b47
|
Add a "heartbeat" task which runs every 5 minutes
- Allows us to track if the worker is running
- Due to Stat.get_all() not always working
|
2021-03-12 15:27:28 +11:00 |
|
Oliver
|
ed028aed62
|
Merge pull request #1397 from SchrodingersGat/order-report
Order report
|
2021-03-12 14:44:10 +11:00 |
|
Oliver Walters
|
c07f217416
|
Add "ignore" rules for new report models
|
2021-03-12 14:01:20 +11:00 |
|
Matthias
|
47c98db8a1
|
unified translation scheme
|
2021-03-11 12:44:28 +01:00 |
|
Oliver Walters
|
4925f24ca9
|
Add "up to date" info to the "about" window
|
2021-03-11 20:07:59 +11:00 |
|
Oliver Walters
|
18defcff16
|
Read version number from GitHub
|
2021-03-11 19:56:22 +11:00 |
|
Oliver Walters
|
3cf5aec289
|
Refactor
|
2021-03-11 19:21:28 +11:00 |
|
Oliver Walters
|
1532a0c3a1
|
Add InvenTree/apps.py
|
2021-03-11 17:18:57 +11:00 |
|
Oliver Walters
|
5949ccd74f
|
Bug fix
|
2021-03-11 17:11:57 +11:00 |
|
Oliver Walters
|
f1ba20c3da
|
Basic PO and SO reports
|
2021-03-11 15:01:25 +11:00 |
|
Oliver Walters
|
eb6310c774
|
Render company image to report
|
2021-03-11 15:01:15 +11:00 |
|
Oliver Walters
|
9d321f4833
|
Removed
|
2021-03-11 14:47:45 +11:00 |
|
Oliver Walters
|
e1ba0a9a99
|
Bug fix for tables
|
2021-03-11 14:24:28 +11:00 |
|
Oliver Walters
|
8e2a2c59bf
|
Add more context data to reports
|
2021-03-11 14:19:25 +11:00 |
|
Oliver Walters
|
7ccd339b5c
|
Print reports for multiple selected sales orders / purchase orders
|
2021-03-11 14:15:31 +11:00 |
|
Oliver Walters
|
fa95759a00
|
Enable printing for PO and SO
|
2021-03-11 14:09:57 +11:00 |
|
Oliver
|
23e19614a5
|
Merge pull request #1394 from mosenturm/translation_de
further translation de
|
2021-03-10 20:35:50 +11:00 |
|
Andreas Kaiser
|
3897166185
|
fix typo
|
2021-03-10 09:48:54 +01:00 |
|
Oliver Walters
|
7800664f4b
|
Add printing endpoints
|
2021-03-10 18:29:22 +11:00 |
|
Oliver Walters
|
5a6a12604e
|
Add detail endpoints
|
2021-03-10 17:13:19 +11:00 |
|
Oliver Walters
|
33e176e4e7
|
Add list view API endpoints
|
2021-03-10 17:09:37 +11:00 |
|
Oliver Walters
|
9b0595d232
|
Add serializers
|
2021-03-10 16:53:02 +11:00 |
|
Oliver Walters
|
7f05485954
|
Add new reports to the admin interface
|
2021-03-10 16:50:55 +11:00 |
|
Oliver Walters
|
727fd38978
|
Add new report models
|
2021-03-10 16:48:20 +11:00 |
|
Oliver Walters
|
d559d92f58
|
Display responsible owner for salesorder and purchaseorder
|
2021-03-10 16:26:20 +11:00 |
|
Oliver Walters
|
39d44ce32f
|
Add "responsible" field to PO and SO models
|
2021-03-10 16:19:44 +11:00 |
|
Oliver Walters
|
5b68d82fa3
|
Skeleton for background tasks
|
2021-03-10 14:03:19 +11:00 |
|
Oliver Walters
|
660fed9196
|
Remove unused code from settings.py
|
2021-03-10 14:03:09 +11:00 |
|
Andreas Kaiser
|
6f63b43c1c
|
Merge branch 'master' into translation_de
|
2021-03-09 11:14:07 +01:00 |
|
Andreas Kaiser
|
ca626ead6c
|
german translation
|
2021-03-09 00:45:37 +01:00 |
|
Matthias
|
a00756ec3a
|
added all obvious translations
|
2021-03-08 23:50:24 +01:00 |
|
Andreas Kaiser
|
af0c72d338
|
german translation
|
2021-03-08 17:45:22 +01:00 |
|
Andreas Kaiser
|
5ae5b9c0d4
|
german translation
|
2021-03-08 16:09:36 +01:00 |
|
Andreas Kaiser
|
48cd227f06
|
german translation, HTML tags refactored
|
2021-03-06 21:52:57 +01:00 |
|
Andreas Kaiser
|
ae3a0133eb
|
Merge branch 'master' into translation_de
|
2021-03-06 13:50:39 +01:00 |
|
Oliver Walters
|
45b3c68930
|
New status info
|
2021-03-06 21:41:19 +11:00 |
|
Oliver Walters
|
7bec3ff5dd
|
django-q
|
2021-03-06 20:58:57 +11:00 |
|
Oliver Walters
|
8061669c70
|
Hacky fix for ordering parts form
|
2021-03-06 19:49:49 +11:00 |
|
Andreas Kaiser
|
ade1d36397
|
updated german translation, change tags bold italics
|
2021-03-05 01:03:08 +01:00 |
|
Oliver
|
a4257ad9df
|
Update version.py
|
2021-03-04 22:52:40 +11:00 |
|
Oliver
|
15ca35ca94
|
Update version.py
|
2021-03-04 22:51:32 +11:00 |
|
Oliver Walters
|
d43cfccfc1
|
Typo fix
|
2021-03-04 22:11:38 +11:00 |
|
Oliver Walters
|
5ad915a845
|
More fields
|
2021-03-04 22:09:46 +11:00 |
|
Oliver Walters
|
d111e7bff0
|
Hide fields rather than pop, to reduce warnings in CI logs
|
2021-03-04 21:42:49 +11:00 |
|
Oliver Walters
|
a9e3e46b8a
|
Bug fix
check if self.object.owner is None
|
2021-03-03 21:52:02 +11:00 |
|
Oliver Walters
|
979f543c3f
|
Add build orders to search results list
|
2021-03-03 08:44:13 +11:00 |
|
Oliver Walters
|
14000517ce
|
Fixes for build order table
|
2021-03-03 08:39:14 +11:00 |
|
Oliver Walters
|
4a28fa7fa8
|
Fixes for company table
|
2021-03-03 08:36:16 +11:00 |
|
Oliver Walters
|
339a02a6b2
|
Bug fix for sorting of sales orders
|
2021-03-03 08:32:57 +11:00 |
|
Oliver Walters
|
558ea98fa1
|
Add purchase order and sales order to search results
|
2021-03-03 08:30:20 +11:00 |
|
Oliver Walters
|
0b15b77140
|
Fix server-side ordering for purchase order table
|
2021-03-03 08:13:55 +11:00 |
|
Andreas Kaiser
|
3a6f13f259
|
updated german translation (de)
|
2021-03-02 17:44:53 +01:00 |
|
Oliver
|
3d4cfcf1b6
|
Merge pull request #1381 from SchrodingersGat/table-name-fix
Fixes incorrect table name
|
2021-03-02 22:03:51 +11:00 |
|
Oliver Walters
|
e7e2abf3fc
|
Remove debug prints
|
2021-03-02 21:34:26 +11:00 |
|
Oliver Walters
|
cd01bb0ad7
|
Refactor HTML view permission
- Introspect database model from View
- Automatically get the permission from the View class
|
2021-03-02 21:32:32 +11:00 |
|
Oliver Walters
|
753483e6c2
|
Use app label rather than table name for permission lookup
- For legacy reasons there are some tables that are not named according to their app_label
- Simply use the app_label instead
|
2021-03-02 19:34:56 +11:00 |
|
Oliver
|
7f6f489463
|
Merge pull request #1379 from SchrodingersGat/po-bug-fix
Pagination Bug Fix
|
2021-03-02 17:15:12 +11:00 |
|
Oliver Walters
|
42dfda6d07
|
Merge remote-tracking branch 'inventree/master' into po-bug-fix
|
2021-03-02 16:29:12 +11:00 |
|
Oliver Walters
|
7cb712f422
|
Merge remote-tracking branch 'inventree/master' into label-base
# Conflicts:
# .travis.yml
|
2021-03-02 16:28:58 +11:00 |
|
Oliver Walters
|
9478da2ad2
|
Remove django-migration-linter which was causing strange errors
|
2021-03-02 15:53:56 +11:00 |
|
Oliver Walters
|
f6e982ce81
|
Fixes incorrect table name
|
2021-03-02 15:34:45 +11:00 |
|
Oliver Walters
|
2cf87c1c30
|
Adds body styling to label base
|
2021-03-02 14:05:52 +11:00 |
|
Oliver Walters
|
628e87cb28
|
search field fixes
|
2021-03-02 13:08:12 +11:00 |
|
Oliver Walters
|
6f4178acdb
|
Improve server-side pagination for POLineItem
|
2021-03-02 12:38:37 +11:00 |
|
Oliver Walters
|
1c3b017283
|
Improve server-side pagination of SalesOrderLineItem
|
2021-03-02 12:33:41 +11:00 |
|
Oliver Walters
|
4ff1c690cc
|
Bug fix for paginated tables
|
2021-03-02 12:33:01 +11:00 |
|
Oliver
|
7cf1715e2b
|
Merge pull request #1374 from eeintech/dark-reader
Dark Reader color theme update
|
2021-03-02 10:45:56 +11:00 |
|
eeintech
|
a85ac6161e
|
Removed binary SVG images from CSS
|
2021-03-01 16:19:16 -05:00 |
|
Oliver Walters
|
478dce449d
|
Fix incorrect javascript call
|
2021-03-02 08:07:18 +11:00 |
|
eeintech
|
36c7528aeb
|
Removed absolute static URLs
|
2021-03-01 11:00:42 -05:00 |
|
eeintech
|
374860c914
|
Updated Dark Reader color theme
|
2021-03-01 10:48:37 -05:00 |
|
Oliver
|
7aed696451
|
Merge pull request #1373 from SchrodingersGat/server-pagination
Server pagination
|
2021-03-01 13:31:50 +11:00 |
|
Oliver Walters
|
b7cf57c875
|
PEP fix
|
2021-03-01 11:38:52 +11:00 |
|
Oliver Walters
|
9f9629edb3
|
Fix for unit test
|
2021-03-01 11:21:18 +11:00 |
|
Oliver Walters
|
b157690ae0
|
Add API version to server info endpoint
|
2021-03-01 11:15:53 +11:00 |
|
Oliver Walters
|
34def10765
|
Delete un-needed code
|
2021-02-28 21:44:10 +11:00 |
|
Oliver Walters
|
04dbfbd892
|
Fix for stock item tracking table
|
2021-02-28 20:50:19 +11:00 |
|
Oliver Walters
|
3dad86f004
|
Actually just enable (optional) pagination for every list endpoint
|
2021-02-28 20:45:41 +11:00 |
|
Oliver Walters
|
44635d2499
|
Use server-side pagination for more list endpoints
|
2021-02-28 20:35:32 +11:00 |
|
Oliver Walters
|
90feb6d210
|
Server-side paginatino for build orders
|
2021-02-28 20:31:01 +11:00 |
|
Oliver Walters
|
1239d4af16
|
Fixes result limiting
- Required for index page
|
2021-02-28 20:16:05 +11:00 |
|
Oliver Walters
|
487794a938
|
Server side pagination for the part list
|
2021-02-28 16:29:25 +11:00 |
|
Oliver Walters
|
8ce7b572cc
|
Optionally paginate the StockList table on the server
- This makes the bootstrap table interface SO FREAKING MUCH FASTER
- Search is now performed on the server too!
|
2021-02-28 16:18:45 +11:00 |
|
Oliver Walters
|
6f2ba71339
|
Refactor side navigation tree
|
2021-02-28 11:48:20 +11:00 |
|
Oliver
|
5cdae04c62
|
Merge pull request #1371 from SchrodingersGat/api-404
Adds "404" response when asking for an API endpoint that does not exist
|
2021-02-28 07:34:34 +11:00 |
|
Oliver Walters
|
19c76f7842
|
Include 404 URL in response
|
2021-02-27 22:44:38 +11:00 |
|
Oliver Walters
|
5069882a7f
|
URL tweaks
|
2021-02-27 22:41:36 +11:00 |
|
Oliver Walters
|
0b9cb507c7
|
Redirect invalid API urls to a 404 page
|
2021-02-27 22:38:08 +11:00 |
|
Oliver Walters
|
f1c8c48d35
|
Fix API permissions for stock adjustment
|
2021-02-27 20:17:52 +11:00 |
|
Oliver
|
d5597a3dca
|
Merge pull request #1363 from SchrodingersGat/api-permissions
Api permissions
|
2021-02-27 08:39:47 +11:00 |
|
Oliver Walters
|
b6d87850dc
|
Hide stock buttons on top-level stock location display
|
2021-02-27 08:00:00 +11:00 |
|
Oliver Walters
|
b315b958b0
|
PEP fixes
|
2021-02-27 07:56:38 +11:00 |
|
Oliver Walters
|
5a536be22d
|
More test refactoring
|
2021-02-26 22:08:06 +11:00 |
|
Oliver Walters
|
d76b873c00
|
Refactor build API unit tests
|
2021-02-26 22:00:22 +11:00 |
|
Oliver Walters
|
9d099c81a7
|
Refactor API tests for stock
|
2021-02-26 21:53:54 +11:00 |
|
Oliver Walters
|
ee744be5fe
|
Refactor API unit tests for part
|
2021-02-26 21:45:37 +11:00 |
|
Oliver Walters
|
6e3cb326fb
|
Use better introspection, no longer required "role_required"
|
2021-02-26 21:36:40 +11:00 |
|
Oliver Walters
|
0f6cdd0037
|
Improve unit testing for new role endpoint
|
2021-02-26 21:04:09 +11:00 |
|
Oliver Walters
|
aad92902f2
|
Unit tests for new role view
|
2021-02-26 20:37:12 +11:00 |
|
Oliver Walters
|
2460965fef
|
Add some more context data
|
2021-02-26 17:55:56 +11:00 |
|
Oliver Walters
|
5c61c18dc4
|
Add API endpoint which provides list of role permissions available to current user
|
2021-02-26 17:52:06 +11:00 |
|
Oliver Walters
|
cd5bc395f2
|
PEP fixes
|
2021-02-26 16:03:38 +11:00 |
|
Oliver Walters
|
20740035e8
|
Add role to API endpoints in 'part' app
|
2021-02-26 14:37:50 +11:00 |
|
Oliver Walters
|
81e9fd7a44
|
Escape hatch if role not required
|
2021-02-26 14:26:37 +11:00 |
|
Oliver Walters
|
0e971c468b
|
Remove test code
|
2021-02-26 14:07:18 +11:00 |
|
Oliver Walters
|
36359fc547
|
RolePermission is now default for API endpoints
|
2021-02-26 14:05:26 +11:00 |
|
Oliver Walters
|
cd8c6fa81a
|
Add RolePermission for API endpoints
|
2021-02-26 13:53:23 +11:00 |
|
Oliver Walters
|
1dfda5b0ed
|
Fix display for top-level category
|
2021-02-26 13:03:03 +11:00 |
|
Oliver Walters
|
12c2ea3b37
|
Refactor multi-bom deletion
|
2021-02-26 10:54:54 +11:00 |
|
Oliver Walters
|
f2da1c990b
|
Simplify process for marking a part as "starred"
|
2021-02-25 23:27:27 +11:00 |
|
Oliver
|
35b9b17167
|
Merge pull request #1354 from SchrodingersGat/tree-fix
Sidenav Fixes
|
2021-02-25 09:45:56 +11:00 |
|
Oliver Walters
|
bb03f2bd58
|
CSS fixes
|
2021-02-25 09:22:02 +11:00 |
|
Oliver Walters
|
26e80fa0ab
|
Fancify all the menubars
|
2021-02-25 09:10:20 +11:00 |
|
Oliver Walters
|
fe42d5c54d
|
Cleanup display for part
|
2021-02-24 21:58:40 +11:00 |
|
Oliver Walters
|
a451de3735
|
Update translations
|
2021-02-24 21:53:23 +11:00 |
|
Oliver Walters
|
ef84b98a89
|
Build view now uses menubar
|
2021-02-24 21:52:26 +11:00 |
|
Oliver Walters
|
48d2a395de
|
Part Category now uses menubar display
|
2021-02-24 21:39:45 +11:00 |
|
Oliver Walters
|
a0eec930bb
|
Cleanup
|
2021-02-24 21:30:55 +11:00 |
|
Oliver Walters
|
89bdfd1c62
|
StockItem display now uses menubar
|
2021-02-24 21:27:44 +11:00 |
|
Oliver Walters
|
888fd4116c
|
SupplierPart display now uses menubar display style
|
2021-02-24 21:12:41 +11:00 |
|
Oliver Walters
|
5525b23b9f
|
Company view now uses menubar
|
2021-02-24 20:31:48 +11:00 |
|
Oliver Walters
|
3210af31b4
|
Sales order now uses menubar
|
2021-02-24 20:17:25 +11:00 |
|
Oliver Walters
|
213851e8aa
|
Purchase Order now uses menu bar
|
2021-02-24 20:01:05 +11:00 |
|
Oliver Walters
|
bedfaa582c
|
Update "part" display to use new menubar
|
2021-02-24 17:58:43 +11:00 |
|
Oliver Walters
|
2a7b32d4f4
|
Part display tweaks
|
2021-02-24 16:37:32 +11:00 |
|
Oliver Walters
|
546a1c91cc
|
Allow searching part by revision field
|
2021-02-24 11:05:52 +11:00 |
|
Oliver Walters
|
a660578262
|
Move part menu to the left
|
2021-02-24 11:02:11 +11:00 |
|
Oliver Walters
|
15a59d54ca
|
Abstract template context data for part
|
2021-02-24 09:05:31 +11:00 |
|
Oliver Walters
|
edb803bf67
|
Make part menu 'sticky'
|
2021-02-23 21:58:28 +11:00 |
|
Oliver Walters
|
2e87499fa5
|
Basic right-side menu for part
|
2021-02-23 21:51:41 +11:00 |
|
Oliver Walters
|
68f24e97ac
|
Make tree sidenav resizable
|
2021-02-23 21:09:55 +11:00 |
|
Oliver Walters
|
0016628b41
|
Keep tree items constrained to a single line
|
2021-02-23 19:38:28 +11:00 |
|
Oliver
|
8cc904fe8a
|
Merge pull request #1352 from SchrodingersGat/bug-fix
Bug fix for trackable parts
|
2021-02-23 18:01:56 +11:00 |
|
Oliver Walters
|
15275d24b4
|
Better CSS for side nav bars
|
2021-02-23 18:01:42 +11:00 |
|
Oliver Walters
|
a48be3bea9
|
Remove regex search functionality from part api
|
2021-02-23 16:57:17 +11:00 |
|
Oliver Walters
|
b64d48544d
|
Bug fix for trackable parts
|
2021-02-23 16:49:09 +11:00 |
|
Oliver Walters
|
8c9202de21
|
Bug fix for label / report filtering
|
2021-02-23 15:40:31 +11:00 |
|
Oliver
|
94c8bb6805
|
Merge pull request #1350 from SchrodingersGat/recently-updated
Adds "Recently Updated Stock" to index page
|
2021-02-23 14:47:24 +11:00 |
|
Oliver Walters
|
648d322f54
|
Style fixes
|
2021-02-23 14:24:09 +11:00 |
|
Oliver Walters
|
8717be66fc
|
Configure number of "recent items" shown on index page
|
2021-02-23 14:15:12 +11:00 |
|
Oliver Walters
|
8972a51bd6
|
Fixes for integer validator for inventree setting
|
2021-02-23 14:12:16 +11:00 |
|
Oliver
|
333d6dd1b8
|
Merge pull request #1348 from SchrodingersGat/supplier-part-admin
Adds "admin" button to supplier part page
|
2021-02-23 13:43:51 +11:00 |
|
Oliver Walters
|
571a03043e
|
Show recently updated stock items on the index page
|
2021-02-23 13:43:41 +11:00 |
|
Oliver Walters
|
949a541ee0
|
Add more options to StockList api
- Limit query results
- Order by various fields
|
2021-02-23 13:43:26 +11:00 |
|
Oliver Walters
|
66e1b180e4
|
Add option to stock table to disable grouping at run-time
|
2021-02-23 13:42:59 +11:00 |
|
Oliver Walters
|
39d4ddd845
|
Enable filtering for "used in" table
|
2021-02-23 13:23:23 +11:00 |
|
Oliver Walters
|
5a58e0a298
|
Adds "admin" button to supplier part page
|
2021-02-23 13:16:03 +11:00 |
|
Oliver Walters
|
041f056116
|
Display stock tab for virtual parts
|
2021-02-23 10:40:52 +11:00 |
|
Oliver Walters
|
832a6ef9a2
|
PEP fixes
|
2021-02-23 09:01:03 +11:00 |
|
Oliver Walters
|
58863b1924
|
Show child builds
|
2021-02-22 22:35:54 +11:00 |
|
Oliver Walters
|
c1dd5b1ca1
|
Add "child build" page
|
2021-02-22 22:21:46 +11:00 |
|
Oliver Walters
|
2186a66465
|
Build: Filter by parent or ancestor in API
- Add unit testing
|
2021-02-22 22:05:20 +11:00 |
|
Oliver
|
b8327a5531
|
Merge pull request #1342 from SchrodingersGat/label-improvements
Label improvements
|
2021-02-22 19:45:11 +11:00 |
|
Oliver Walters
|
199ba27031
|
PEP!!!
|
2021-02-22 18:44:59 +11:00 |
|
Oliver Walters
|
cf6a03456f
|
Adds 'suppliers' field to Part serializer
- Number of supplier parts associated with the Part object
|
2021-02-22 18:44:31 +11:00 |
|
Oliver Walters
|
28e9aa4afa
|
More unit fixes
|
2021-02-22 18:11:40 +11:00 |
|
Oliver Walters
|
9159afe9ce
|
Unit test fix
|
2021-02-22 17:27:48 +11:00 |
|
Oliver Walters
|
7582b9ccf4
|
PEP fixes
|
2021-02-22 17:02:33 +11:00 |
|
Oliver Walters
|
9fe9cbc795
|
Fixes weird variant display
- Seems like the double import was at fault (somehow??)
|
2021-02-22 16:57:33 +11:00 |
|
Oliver Walters
|
7d54997cb8
|
Tweaks
|
2021-02-22 16:48:00 +11:00 |
|
Oliver Walters
|
bf51e1bfb1
|
Update label templates
- New ones are automatically copied across now
|
2021-02-22 16:39:38 +11:00 |
|
Oliver Walters
|
da715d7381
|
Refactoring label printing
|
2021-02-22 16:12:13 +11:00 |
|
Oliver Walters
|
caf4c293d9
|
Rename "barcode" module to "barcodes" to prevent import shadowing
- Add 'barcode' support
|
2021-02-22 15:15:25 +11:00 |
|
Oliver Walters
|
23da591c22
|
Remove old dependency on django_qr_code
|
2021-02-22 15:00:12 +11:00 |
|
Oliver Walters
|
a742df2c12
|
Adds 'length' and 'width' fields to label models
|
2021-02-22 10:10:58 +11:00 |
|
Oliver Walters
|
89cdcda614
|
Add app info to about dialog
|
2021-02-22 01:10:11 +11:00 |
|
Oliver
|
beb155133a
|
Update version.py
|
2021-02-21 21:50:52 +11:00 |
|
Oliver
|
2ac9eadd13
|
Update version.py
|
2021-02-21 21:49:38 +11:00 |
|
Oliver
|
d426e376c4
|
Merge pull request #1333 from SchrodingersGat/cleaner-homepage
Cleaner homepage
|
2021-02-21 21:36:28 +11:00 |
|
Oliver Walters
|
2b1101e165
|
remove unused files
|
2021-02-21 21:09:55 +11:00 |
|
Oliver Walters
|
afd7199a69
|
Cleanup search page too
|
2021-02-21 21:06:52 +11:00 |
|
Oliver Walters
|
745188082b
|
Add more searchable fields to SupplierPart model
|
2021-02-21 21:06:44 +11:00 |
|
Oliver Walters
|
e53c6e9975
|
Fancy
|
2021-02-21 20:29:48 +11:00 |
|
Oliver Walters
|
d11adf3b34
|
fade in
|
2021-02-21 20:18:14 +11:00 |
|
Oliver Walters
|
dffff89e9d
|
Add option to filter out variants in stock table
|
2021-02-21 20:08:23 +11:00 |
|
Oliver Walters
|
9d12d43574
|
Cleanup / refactor
|
2021-02-19 18:10:10 +11:00 |
|
Oliver Walters
|
116ea65160
|
Show / hide panels
|
2021-02-19 17:57:38 +11:00 |
|
Oliver Walters
|
6df6a460e4
|
Add items using javascript
|
2021-02-19 17:48:32 +11:00 |
|
Oliver
|
b95d6a4ab2
|
Merge pull request #1327 from SchrodingersGat/installed-test-results
Read test results from installed items
|
2021-02-19 16:49:51 +11:00 |
|
Oliver Walters
|
6037f1452a
|
Unit testing for new feature
|
2021-02-19 15:50:32 +11:00 |
|
Oliver Walters
|
beeb94785d
|
Add option for TestReport to include tests for installed items
|
2021-02-19 15:50:25 +11:00 |
|
Oliver Walters
|
ea4b713eed
|
Allow adjustment for destroyed (or lost) stock
|
2021-02-19 15:13:56 +11:00 |
|
Oliver Walters
|
ba71ce941f
|
Display supplier part packaging
|
2021-02-19 14:34:21 +11:00 |
|
Oliver Walters
|
098b494047
|
Add option to disable stock item grouping
|
2021-02-19 11:31:38 +11:00 |
|
Oliver Walters
|
e8bacbe45f
|
Edit packaging field
|
2021-02-19 11:11:22 +11:00 |
|
Oliver Walters
|
644583f636
|
Display packaging info in stock table
|
2021-02-19 11:09:24 +11:00 |
|
Oliver Walters
|
556d6455e8
|
Add "packaging" field for StockItem
|
2021-02-19 11:08:58 +11:00 |
|
Oliver Walters
|
a9f255be85
|
Prevent stock item being added as an installed item inside itself
|
2021-02-18 18:01:41 +11:00 |
|
Oliver Walters
|
ef23ab1abc
|
Adds functionality for traversing "through" installed items to extract test results
|
2021-02-18 17:59:04 +11:00 |
|
Oliver Walters
|
0c053c6339
|
Add action buttons to order or build stock
|
2021-02-18 17:25:39 +11:00 |
|
Oliver Walters
|
bfbcbe252b
|
Adds "required parts" tab to build view
|
2021-02-18 17:14:57 +11:00 |
|
Oliver Walters
|
43a7359501
|
Logic fix for "guessing" next build order number
|
2021-02-18 15:44:43 +11:00 |
|
Oliver Walters
|
0f60482e09
|
Add secondary dialog for creating new supplier
|
2021-02-18 14:59:13 +11:00 |
|
Oliver Walters
|
1b73f56937
|
modal content wrapper for secondary modal
|
2021-02-18 14:56:35 +11:00 |
|
Oliver Walters
|
e75b9d04fe
|
PEP fix
|
2021-02-18 14:38:25 +11:00 |
|
Oliver Walters
|
7a51e6cf78
|
Implement filtering which accommodates new inheritable BOM feature
- Can no longer filter bom_items by sub_part
- Adds get_used_in_filter() and get_used_in() for part model (returns a query of other part objects)
|
2021-02-18 14:35:21 +11:00 |
|
Oliver Walters
|
07ee27ad9b
|
Another CSS tweak
|
2021-02-18 00:49:36 +11:00 |
|
Oliver Walters
|
3822b60bb0
|
CSS tweaks
|
2021-02-18 00:49:16 +11:00 |
|
Oliver Walters
|
abe1018abe
|
Add new fields to BOM item hash
|
2021-02-18 00:40:30 +11:00 |
|
Oliver Walters
|
8caf6bad10
|
Fix for duplicating BOM
- Do not duplicate bom items which are "inherited"
|
2021-02-18 00:38:40 +11:00 |
|
Oliver Walters
|
3f30421ba9
|
bug fix
|
2021-02-17 23:57:45 +11:00 |
|