Commit Graph
100 Commits
Author SHA1 Message Date
OliverandGitHub 5cd9be6845 Merge pull request #2202 from SchrodingersGat/decimal-validation-fix
Fix for supplier price breaks
2021-10-26 08:41:10 +11:00
Oliver b35ce79d6a js linting fix 2021-10-26 08:00:28 +11:00
Oliver cbbad98fea Improve client-side validation of numerical inputs 2021-10-26 07:52:29 +11:00
Oliver 2d910022ac Fix for supplier price breaks
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
OliverandGitHub e7bd91096c Merge pull request #2195 from SchrodingersGat/sales-order-pricing-fix
Sales order pricing fix
2021-10-25 07:14:16 +11:00
Oliver 65b673b2bb Improve pricing rendering for purchase order table 2021-10-24 19:43:05 +11:00
Oliver bc596c1f20 Improve rendering of pricing in sale order table 2021-10-24 19:40:32 +11:00
Oliver 5f6e67086f Add "reload" button for salesorderlineitem table 2021-10-24 19:35:23 +11:00
Oliver a0140dc9a2 bug fix: enable "table reload" for tables without any filters
- setupFilterList function was returning too early
2021-10-24 19:35:15 +11:00
OliverandGitHub 367b80c17a Merge pull request #2194 from matmair/reduce-vertical-space
Move part detail toggle button
2021-10-24 19:08:07 +11:00
OliverandGitHub 5392011130 Merge pull request #2192 from matmair/fix-sso-signup
Fix sso signup
2021-10-24 08:32:08 +11:00
OliverandGitHub 5571cfdbdb Merge pull request #2184 from SchrodingersGat/allocation-fixes
Sales order allocation fix
2021-10-20 23:53:59 +11:00
Oliver 50a79770e5 Un-comment lines in build.serializers 2021-10-20 23:37:26 +11:00
Oliver f83dc134ef linting 2021-10-20 23:20:43 +11:00
Oliver 8805b0a553 Add similar auto field capabilities to build order 2021-10-20 23:14:52 +11:00
Oliver 92568748cf Further improvements
- Add callback for when a select2 form field is updated
- Adjust selected quantity based on returned data
- auto_fill the stock_item field
2021-10-20 23:03:03 +11:00
Oliver f7b6c68237 Pre-fill the form with the remaining allocation quantity 2021-10-20 22:37:54 +11:00
OliverandGitHub 9fe1dd7be4 Merge pull request #2180 from SchrodingersGat/build-fix
Fix for rendering of build order page
2021-10-19 22:00:09 +11:00
Oliver c75586bd9a Fix for rendering of build order page 2021-10-19 21:36:51 +11:00
OliverandGitHub f31b8a6e99 Merge pull request #2179 from SchrodingersGat/settings-page-candy
Settings page candy
2021-10-19 12:17:32 +11:00
Oliver 60771a74a4 "InvenTree Settings" > "Global Settings" 2021-10-19 11:00:32 +11:00
Oliver a3b3bdc88b Add some more icons to the settings page 2021-10-19 10:59:52 +11:00
OliverandGitHub 049f5c7fe1 Merge pull request #2178 from SchrodingersGat/home-page-improvements
UI tweaks
2021-10-19 09:08:45 +11:00
Oliver 4de3bed342 UI tweaks 2021-10-18 22:19:54 +11:00
OliverandGitHub 860cf46cb0 Merge pull request #2177 from SchrodingersGat/quick-search
Add a per-user setting to enable display of stock in search results
2021-10-18 16:57:34 +11:00
Oliver 5802a27fe7 Add a per-user setting to enable display of stock in search results 2021-10-18 16:23:42 +11:00
OliverandGitHub ddeab64072 Merge pull request #2176 from SchrodingersGat/quick-search
Display stock level in quick search bar
2021-10-18 16:13:48 +11:00
Oliver 4bb0b725da JS cleanup 2021-10-18 15:51:50 +11:00
Oliver ce921a6774 Display stock level in quick search bar 2021-10-18 15:40:00 +11:00
OliverandGitHub 03726911e1 Merge pull request #2175 from SchrodingersGat/grid-view
Improvements to "grid view" for parts list
2021-10-18 13:00:28 +11:00
Oliver 4b344cd7bb CSS tweaks 2021-10-18 12:36:42 +11:00
Oliver 68cfd8615e Improvements to "grid view" for parts list
- Display 5 tiles per line
- Reduce padding
- Add border
2021-10-18 12:19:16 +11:00
OliverandGitHub addb265984 Merge pull request #2159 from SchrodingersGat/build-output-complete
Build output improvements
2021-10-18 09:16:21 +11:00
Oliver e04dfa0681 Unit test fix 2021-10-18 08:58:04 +11:00
Oliver fb6f15f462 Delete a bunch of old template files 2021-10-17 22:57:15 +11:00
Oliver 83faaa2da3 unit test fixes 2021-10-17 22:57:07 +11:00
Oliver 6ebb956c8d Fix generation of API documentation
- Can't use get_object_or_404 in API views!
2021-10-17 22:32:03 +11:00
Oliver 7c5c1b6696 typo fix 2021-10-17 21:55:33 +11:00
Oliver 02f4f0fd15 js linting fixes 2021-10-17 21:50:18 +11:00
Oliver a97a918860 cut out the fat
(removing dead code for outdated form views)
2021-10-17 21:46:33 +11:00
Oliver 4a6c1e850f Cleanup unused form 2021-10-17 21:40:59 +11:00
Oliver 90593a187c PEP fixes 2021-10-17 21:39:07 +11:00
Oliver 542b4113a1 Improvements for build output completion
- Check if the output is fully allocated (throw error if not)
- Reload tables after actions performed
2021-10-17 21:37:10 +11:00
Oliver bd7fef720d Enable "allocate" button only once the sub-table is expanded 2021-10-17 21:13:07 +11:00
Oliver 87dcaba0d8 Bump API version 2021-10-17 20:23:39 +11:00
Oliver 90625af39d Re-enable the "allocate" stock button 2021-10-17 11:34:44 +11:00
Oliver 6c1dad8d91 Consolidate javascript for sidenavs 2021-10-17 11:26:08 +11:00
Oliver 9d2273c1cd Further work on build output scripts 2021-10-17 11:25:53 +11:00
Oliver 283bf1682f Remove old views / forms 2021-10-17 11:25:33 +11:00
Oliver 14ef56785e Add option to select multiple build outputs
- Can "complete" these outputs
2021-10-16 14:27:02 +11:00
Oliver d47b32e4aa Adds function to complete multiple build outputs via the API 2021-10-16 14:08:53 +11:00
Oliver ccaa7d2683 Merge branch 'master' into build-output-complete 2021-10-16 13:18:35 +11:00
Oliver b60296e494 Add some more unit tests 2021-10-16 13:16:19 +11:00
Oliver 41e59e5311 Right align expand buttons 2021-10-16 13:01:19 +11:00
OliverandGitHub 1695eb98ea Merge pull request #2173 from matmair/fix-provider-signup
fix signup with providers with extra args
2021-10-16 12:35:22 +11:00
OliverandGitHub b54a948e73 Merge pull request #2168 from SchrodingersGat/db-options-cleanup
Add support for backend-specific database functionality
2021-10-15 15:33:52 +11:00
Oliver 603f7d5f45 Fixes 2021-10-15 15:13:06 +11:00
Oliver 6343445433 Add support for backend-specific database functionality 2021-10-15 15:05:55 +11:00
OliverandGitHub 744befcc96 Merge pull request #2161 from matmair/onboarding-group
Onboarding group
2021-10-15 12:55:55 +11:00
OliverandGitHub 1c9d759a73 Merge pull request #2167 from SchrodingersGat/spelling-fix
Standardize spelling of email / e-mail
2021-10-15 12:48:55 +11:00
Oliver 8e4deaa8c8 Standardize spelling of email / e-mail
(Spoiler: I chose "email")
2021-10-15 11:52:13 +11:00
OliverandGitHub a3ef64ef12 Merge pull request #2163 from nwns/feature/sortdeps
Sort requirements.txt
2021-10-15 10:44:46 +11:00
OliverandGitHub 074b21bc93 Merge pull request #2162 from matmair/fix-email-settingins
Fix email settingins
2021-10-15 07:07:19 +11:00
Oliver 4702c6b37f Refactorin' 2021-10-15 00:25:36 +11:00
Oliver 0d49513092 Add button callbacks for top-level table 2021-10-14 23:58:03 +11:00
Oliver bf47b57c82 working on updating build output tables 2021-10-14 23:46:21 +11:00
Oliver be6f417dff Random button cleanup 2021-10-14 23:13:12 +11:00
Oliver b0a3280c05 Add unit testing 2021-10-14 23:13:08 +11:00
Oliver 54dd05a24d Add an API serializer to complete build outputs 2021-10-14 23:13:01 +11:00
OliverandGitHub 0e589533e5 Merge pull request #2155 from SchrodingersGat/natural-sort
Natural sort
2021-10-14 19:32:02 +11:00
Oliver 2c9bbb051a Add some unit tests
- Saving a model automatically updates the reference_int field
- Data migrations are correctly applied
2021-10-14 19:12:23 +11:00
Oliver d0f60766e0 exclude new field from admin view 2021-10-14 18:57:02 +11:00
OliverandGitHub ee7b8dc1ad Merge pull request #2158 from SchrodingersGat/part-exclude
Exclude parts from API
2021-10-14 18:54:25 +11:00
Oliver 4327cbedce Remove debug message 2021-10-14 18:01:16 +11:00
Oliver d3d1d2f577 Auto-rebuild the reference field for the SalesOrder on save 2021-10-14 18:00:17 +11:00
Oliver 068b54f666 Data migration for PurchaseOrder and SalesOrder models 2021-10-14 17:58:09 +11:00
Oliver 5c6a7b489c Data migration for the Build model 2021-10-14 17:54:46 +11:00
Oliver 7ce0f817aa Add a 'reference_int' field to the models, to be used as a secondary index 2021-10-14 17:45:43 +11:00
Oliver 9b00ede61a Add part queryset filtering to exclude particular ID values 2021-10-14 17:12:08 +11:00
Oliver 0c60387626 Extract a list of existing substitute parts from the form 2021-10-14 16:50:56 +11:00
OliverandGitHub 4b4bf38ae5 Merge pull request #2157 from SchrodingersGat/stock-display-fix
quick bug fix
2021-10-14 16:42:44 +11:00
Oliver 9319113793 quick bug fix 2021-10-14 16:27:10 +11:00
OliverandGitHub 05791a8efd Merge pull request #2138 from rocheparadox/master
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
Oliver e46875b0a3 Apply same fix to PurchaseOrder and SalesOrder lists 2021-10-14 14:31:25 +11:00
Oliver 233672d822 Add new functionality to InvenTreeOrderingFilter
- Allow ordering by multiple field aliases
- Simply way to implement "integer ordering" functionality
2021-10-14 14:25:39 +11:00
Oliver 0cdc82a4b3 Annotate BuildList queryset with integer cast of the reference 2021-10-14 14:24:17 +11:00
OliverandGitHub aa7eb3a6d0 Merge pull request #2154 from SchrodingersGat/filter-bug-fix
Fix table filtering bug
2021-10-14 13:23:00 +11:00
Oliver 44b4061d7d Fix table filtering bug
- Introduced in recent "BOM substitutes" PR
2021-10-14 11:56:26 +11:00
OliverandGitHub 22572c6f35 Merge pull request #2150 from SchrodingersGat/bom-substitutes
Bom substitutes
2021-10-14 11:24:46 +11:00
Oliver 4a6bd0123a Bug fixes 2021-10-14 11:00:27 +11:00
OliverandGitHub 2839c9f0eb Update README.md
Adds badge for docker build
2021-10-14 10:34:57 +11:00
Oliver 7dfffcd5d3 Move "build unallocate" functionality to the API
- Much much simpler now!
- Filtering is against bom_item, not part
- Fixes a bug with the new (reasonably complex) substitution framework
2021-10-14 10:32:43 +11:00
OliverandGitHub 6012407e93 Merge pull request #2153 from SchrodingersGat/cryptography-version
Tag specific version of cryptography
2021-10-14 09:46:48 +11:00
Oliver 7d88cbe27e Tag specific version of cryptography 2021-10-14 09:25:00 +11:00
Oliver 1cbce5dfbf javascript fixes 2021-10-14 09:14:31 +11:00
Oliver 0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +11:00
OliverandGitHub 936104956e Merge pull request #2151 from SchrodingersGat/locale-fix
Remove locale_stats file
2021-10-14 00:20:32 +11:00
Oliver c32b17aa4a Remove locale_stats file 2021-10-13 23:58:19 +11:00
Oliver 890741ef5d Display badge indicating variant stock can be used 2021-10-13 23:57:50 +11:00
Oliver be5c5496b2 Improvements to allocation of stock items against build orders
- Refactor functions for filtering stock using bom_item pk
- Allow selection of substitute items when allocating against build order
- Improvements for modal rendering
- Don't display filter drop-down if there are no filters available
2021-10-13 23:53:35 +11:00