Oliver
75a35773c6
More unit tests
2021-10-04 20:44:15 +11:00
Oliver
957867f504
Implement unit tests for new build allocation API feature
2021-10-04 18:53:10 +11:00
Oliver
99c1819c69
Implement API endpoint and serializer for allocation of stock items
2021-10-04 18:26:30 +11:00
Oliver
22d6d49b97
Create a select2 stockitem input and a quantity input for each allocation row
2021-10-04 17:42:47 +11:00
Oliver
cd657daf50
Fixes for stockitem rendering in API forms
...
- Also improved rendering for other models
2021-10-04 17:41:09 +11:00
Oliver
49dc88abbc
Add configurable options for the stockitem renderer
2021-10-04 17:31:38 +11:00
Oliver
eba0d15fe4
Rough layout of javascript function
...
- allocateStockToBuild
- provide build ID and part ID
- optionally provide output ID
- optionally provide list of part ID to filter against
2021-10-04 16:11:15 +11:00
Oliver
dfdbb4f7d1
Update version.py
...
Bumped version number for dev branch
2021-10-04 09:35:21 +11:00
Oliver
b7ff50ca87
Merge pull request #2090 from SchrodingersGat/po-api-fix
...
Fix for purchase order API
2021-10-03 01:33:23 +10:00
Oliver
8c78d3b8ea
Add unit test
2021-10-03 01:03:40 +10:00
Oliver
6d448d8475
Handle internal django errors when receiving purchase order items via the API
...
(cherry picked from commit 9355c68024
)
2021-10-03 00:24:09 +10:00
Oliver
16dcd8adf6
Merge pull request #2084 from eeintech/show_part_delete
...
Show part delete button when part still active
2021-10-01 08:46:25 +10:00
eeintech
480ff5e6cb
Hide submit button in modal when part is still active
2021-09-30 09:58:23 -04:00
Oliver
172d184a4d
Merge pull request #2086 from SchrodingersGat/search-fix
...
Fix for search page
2021-09-30 22:13:38 +10:00
Oliver
7e81f419d7
Refactor search results for stock items and locations
2021-09-30 20:23:41 +10:00
Oliver
ab9d247531
server-side pagination for manufacturer part table
2021-09-30 20:17:10 +10:00
Oliver
e36039b03f
Server-side pagination for part category search results
2021-09-30 20:15:54 +10:00
Oliver
b9c8e46e1c
Fixes for supplierpart table
...
- Paginate on server side
2021-09-30 20:12:27 +10:00
Oliver
15d96a3288
Fix for URL in supplier parts table
2021-09-30 19:50:16 +10:00
Oliver
4ced13466a
Use "original_search" rather than "search"
2021-09-30 17:57:19 +10:00
Oliver
6cf144c61f
Retain "original" search parameter in query
2021-09-30 17:53:14 +10:00
Oliver
b3422e592d
Update README.md
2021-09-30 10:46:22 +10:00
Oliver
819934af7e
Merge pull request #2083 from SchrodingersGat/search-results
...
Display "full_name" rather than "name" in quick search bar
2021-09-30 09:42:50 +10:00
eeintech
1e9ae927d4
Show part delete button when part still active
2021-09-29 11:48:27 -04:00
Oliver
b1730914c3
Display "full_name" rather than "name" in quick search bar
2021-09-29 22:12:20 +10:00
Oliver
344383d3d4
Merge pull request #2082 from SchrodingersGat/stock-item-delete
...
Override the "delete" behaviour for StockItem API
2021-09-28 10:57:14 +10:00
Oliver
62e62af5fc
PEP style fixes
2021-09-28 10:41:30 +10:00
Oliver
d9704f4123
Add unit test for deleting stock items via the API
2021-09-28 10:41:03 +10:00
Oliver
2d9ca7c1b6
Do not rebuild the entire StockItem tree every time a single StockItem is deleted!
2021-09-28 10:36:01 +10:00
Oliver
16e00962f5
Override the "delete" behaviour for StockItem API
...
- Mark for deletion instead of calling database delete
- Returns (almost) instantly instead of hanging
- Much better UI experience when performing bulk delete operations
2021-09-28 10:14:25 +10:00
Oliver
eb48c6ebdb
Delete app_issue.md
2021-09-28 09:29:14 +10:00
Oliver
b623f34881
Merge pull request #2079 from SchrodingersGat/url-fix
...
URL fixes
2021-09-27 14:32:41 +10:00
Oliver
26e3dbd9d0
Remove debug message
2021-09-27 11:46:14 +10:00
Oliver
ef01bdff07
Fix links in part table
2021-09-27 11:42:47 +10:00
Oliver
beaa93f9b5
Fix ?display= URLs for part stock view
2021-09-27 11:41:24 +10:00
Oliver
b3c8bd7779
Merge pull request #2075 from SchrodingersGat/default-supplier-fix
...
Default supplier fix
2021-09-24 12:35:28 +10:00
Oliver
f53aac0784
Remove "default_supplier" field when duplicating a part
2021-09-24 12:04:36 +10:00
Oliver
d2b9993e96
Fix form filters for "default_supplier"
2021-09-24 12:04:25 +10:00
Oliver
39cab4690d
Merge pull request #2071 from inventree/dependabot/pip/django-3.2.5
...
Build(deps): Bump django from 3.2.4 to 3.2.5
2021-09-23 21:51:23 +10:00
dependabot[bot]
1d85ccd543
Build(deps): Bump django from 3.2.4 to 3.2.5
...
Bumps [django](https://github.com/django/django ) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.4...3.2.5 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 17:46:34 +00:00
Oliver
2e1277839e
Merge pull request #2067 from SchrodingersGat/warning-improvements
...
Improve 'health status' warnings
2021-09-22 09:34:23 +10:00
Oliver
b123135df6
Merge pull request #2068 from rocheparadox/master
...
css for part to occupy full height - fix for bug Inventree#1848
2021-09-22 09:06:03 +10:00
rocheparadox
c1a827819c
css for part to occupy full height - fix for bug Inventree#1848
2021-09-20 17:00:45 +05:30
Oliver
5443beef65
Improve 'health status' warnings
...
- Don't show error message if only non-critical warnings present
2021-09-20 17:15:31 +10:00
Oliver
ae3c9817be
Merge pull request #2062 from SchrodingersGat/app-issue-template
...
Add template for app issues
2021-09-17 22:34:45 +10:00
Oliver
8d6d16c07b
Add template for app issues
2021-09-17 22:13:13 +10:00
Oliver
7b2b01c26f
Merge pull request #2060 from SchrodingersGat/character-test
...
Adds a test for non-standard characters via API
2021-09-17 21:48:10 +10:00
Oliver
e7963f8a85
test fixes
2021-09-17 21:06:07 +10:00
Oliver
11cc0c7ced
Adds a test for non-standard characters via API
2021-09-17 20:53:18 +10:00
Oliver
d73a7176fd
Merge pull request #2055 from SchrodingersGat/test-template-table-fix
...
Fix callback for test template table
2021-09-14 10:58:57 +10:00