Commit Graph

8607 Commits

Author SHA1 Message Date
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
Oliver
4de3bed342 UI tweaks 2021-10-18 22:19:54 +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
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
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
Oliver
e04dfa0681 Unit test fix 2021-10-18 08:58:04 +11:00
Matthias
faa620b8f0
remove commit from super call 2021-10-17 18:52:59 +02: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
Matthias
103a4af9d4
fix signup with providers with extra args 2021-10-15 23:18:03 +02: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
Oliver
744befcc96
Merge pull request #2161 from matmair/onboarding-group
Onboarding group
2021-10-15 12:55:55 +11:00
Oliver
8e4deaa8c8 Standardize spelling of email / e-mail
(Spoiler: I chose "email")
2021-10-15 11:52:13 +11:00
Matthias
0657b71fe8
clearer name and PEP foxes 2021-10-14 22:19:52 +02:00
Matthias
f478a6236f
Merge branch 'master' of https://github.com/inventree/InvenTree into onboarding-group 2021-10-14 22:18:42 +02:00
Matthias
e0887cf55f
move goup forming into own function 2021-10-14 22:16:07 +02:00
Matthias Mair
55ba9ad6c9
Merge branch 'inventree:master' into fix-email-settingins 2021-10-14 21:39:32 +02:00
Matthias
27aec4246e
PEP fix 2021-10-14 21:33:54 +02:00
Matthias
f95896e8ea
this was not meant to be submitted 2021-10-14 21:33:35 +02:00
Matthias
3a586af556
move setting to better fit grouping 2021-10-14 21:27:41 +02:00
Matthias
b26bf780c3
setting to register group on signup 2021-10-14 21:27:09 +02:00
Matthias
3435254d2a
fix email config check 2021-10-14 16:34:59 +02: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
Oliver
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
Oliver
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
Oliver
9319113793 quick bug fix 2021-10-14 16:27:10 +11:00
Oliver
05791a8efd
Merge pull request #2138 from rocheparadox/master
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
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
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
Oliver
44b4061d7d Fix table filtering bug
- Introduced in recent "BOM substitutes" PR
2021-10-14 11:56:26 +11:00
Oliver
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
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
Oliver
1cbce5dfbf javascript fixes 2021-10-14 09:14:31 +11:00
Matthias
147d2d4631
fix default setting to not change current behaviour 2021-10-13 17:40:50 +02:00
Oliver
0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +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
Oliver
c7cec13076 Bug fix 2021-10-13 23:18:44 +11:00
Oliver
f3074e8f34 Improved unit testing for BomItem
- tests for allowing variant parts
- tests for allowing substitutes
2021-10-13 23:18:26 +11:00
Oliver
0f8c279aa2 Add some unit testing for the new model 2021-10-13 22:27:10 +11:00
Oliver
8512c2db75 Reload the parent table when adding or removing substitutes 2021-10-13 22:06:51 +11:00
Oliver
ea4c4c514f Add uniqueness checking for the BomItemSubstitute model 2021-10-13 22:01:32 +11:00
Oliver
0e1e8226b1 Add a callback to remove individual rows 2021-10-13 21:42:50 +11:00
Oliver
8b41e68e6b Launch a dialog displaying the available BOM substitutes 2021-10-13 21:33:41 +11:00
Oliver
6803f3cf63 Display "substitutes available" icon 2021-10-13 20:36:31 +11:00
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
Oliver
6816071388 Simplify BOM editing view
- A user with permission to edit BOM data can immediately access the BOM editing tools
2021-10-13 14:44:59 +11:00
Oliver
51efd6b2e4 Add permissions for new mdoel 2021-10-13 14:06:36 +11:00
Oliver
37bd5c0507 Add serializer and API endpoint for BomItemSubstitute class 2021-10-13 13:58:41 +11:00
Oliver
f3f41730be Add "substitutes" column to BOM table 2021-10-13 11:58:40 +11:00
Oliver
324ccd805d Include BomItem substitutes in the serializer 2021-10-13 11:07:44 +11:00
Oliver
7c396f9f39 Enable optional pagination for the BomItem API endpoint 2021-10-13 11:07:34 +11:00
Oliver
a00dc9b0b1 Add migration file for new database model 2021-10-13 10:50:24 +11:00
Oliver
e20ddc289e Merge branch 'master' into bom-substitutes 2021-10-13 10:15:03 +11:00
Oliver
4f985ae225 Revert 1fb76b9
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
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
Oliver Walters
4eb8c60ee0 Add new BomItemSubstitute model 2021-10-12 22:22:49 +11:00
Oliver
75bfdd615e Fixes for unit tests 2021-10-12 11:38:25 +11:00
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
Oliver
40e5536300 Handle rare case where user instance has no name assigned 2021-10-11 21:39:34 +11:00
Oliver
772d3fa67d Merge remote-tracking branch 'inventree/l10_crowdin' 2021-10-11 21:02:35 +11:00
Oliver
5b4d646ca3
Merge pull request #2135 from SchrodingersGat/docs-fix-fix
re-simplify the documentation URL
2021-10-11 18:54:56 +11:00
Oliver
62ce278fb7 Fix: New translations django.po from Crowdin 2021-10-11 17:29:16 +11:00
Oliver
c125cc4b29 Fix: New translations django.po from Crowdin 2021-10-11 17:29:15 +11:00
Oliver
e9350ca0e4 Fix: New translations django.po from Crowdin 2021-10-11 17:29:13 +11:00
Oliver
004bb35245 Fix: New translations django.po from Crowdin 2021-10-11 17:29:12 +11:00
Oliver
b1f51afac1 Fix: New translations django.po from Crowdin 2021-10-11 17:29:11 +11:00
Oliver
f0d2a32990 Fix: New translations django.po from Crowdin 2021-10-11 17:29:09 +11:00
Oliver
fe06542498 Fix: New translations django.po from Crowdin 2021-10-11 17:29:08 +11:00
Oliver
20874ca68a Fix: New translations django.po from Crowdin 2021-10-11 17:29:07 +11:00
Oliver
e1b0dc3669 Fix: New translations django.po from Crowdin 2021-10-11 17:29:05 +11:00
Oliver
b56c0e3a56 Fix: New translations django.po from Crowdin 2021-10-11 17:29:04 +11:00
Oliver
181091ce2d Fix: New translations django.po from Crowdin 2021-10-11 17:29:02 +11:00
Oliver
51e822a1f5 Fix: New translations django.po from Crowdin 2021-10-11 17:29:01 +11:00
Oliver
b334b85363 Fix: New translations django.po from Crowdin 2021-10-11 17:28:59 +11:00
Oliver
f722c765b3 Fix: New translations django.po from Crowdin 2021-10-11 17:28:58 +11:00
Oliver
ce550cfcd0 Fix: New translations django.po from Crowdin 2021-10-11 17:28:57 +11:00
Oliver
0299dda74c Fix: New translations django.po from Crowdin 2021-10-11 17:28:55 +11:00
Oliver
4a701a7a3a Fix: New translations django.po from Crowdin 2021-10-11 17:28:54 +11:00
Oliver
76b0ed3243 Fix: New translations django.po from Crowdin 2021-10-11 17:28:53 +11:00
Oliver
00f8d98094 re-simplify the documentation URL
- dev version = "latest"
- stable version = "x.y.z"
- Requires an explicit docs version release for every software release
2021-10-11 17:26:48 +11:00
Oliver
19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
SSO!
2021-10-11 17:20:08 +11:00
Oliver
d874dc29b1 Fix: New translations django.po from Crowdin 2021-10-11 12:03:48 +11:00
Oliver
20ab5c7cf0 Fix: New translations django.po from Crowdin 2021-10-11 12:03:47 +11:00
Oliver
5d619cbd0e Fix: New translations django.po from Crowdin 2021-10-11 12:03:46 +11:00
Oliver
2755ae1b4c Fix: New translations django.po from Crowdin 2021-10-11 12:03:44 +11:00
Oliver
581a3ffb2a Fix: New translations django.po from Crowdin 2021-10-11 12:03:43 +11:00
Oliver
50a1fa42de Fix: New translations django.po from Crowdin 2021-10-11 12:03:42 +11:00
Oliver
681452db3d Fix: New translations django.po from Crowdin 2021-10-11 12:03:40 +11:00
Oliver
f7d66875c4 Fix: New translations django.po from Crowdin 2021-10-11 12:03:39 +11:00
Oliver
9952ff1eae Fix: New translations django.po from Crowdin 2021-10-11 12:03:38 +11:00
Oliver
7b417460e6 Fix: New translations django.po from Crowdin 2021-10-11 12:03:37 +11:00
Oliver
fb943638c0 Fix: New translations django.po from Crowdin 2021-10-11 12:03:35 +11:00
Oliver
1adf77be86 Fix: New translations django.po from Crowdin 2021-10-11 12:03:34 +11:00
Oliver
1235e3e149 Fix: New translations django.po from Crowdin 2021-10-11 12:03:33 +11:00
Oliver
af576d5e90 Fix: New translations django.po from Crowdin 2021-10-11 12:03:32 +11:00
Oliver
629dad5e07 Fix: New translations django.po from Crowdin 2021-10-11 12:03:30 +11:00
Oliver
710e0e2c3b Fix: New translations django.po from Crowdin 2021-10-11 12:03:29 +11:00
Oliver
32f13c6bef Fix: New translations django.po from Crowdin 2021-10-11 12:03:28 +11:00
Oliver
2da8c81537 Fix: New translations django.po from Crowdin 2021-10-11 12:03:26 +11:00
Oliver
e45f50acd3
Merge pull request #2133 from SchrodingersGat/convert-out-of-stock
Allow conversion of out-of-stock items
2021-10-11 12:00:09 +11:00
Oliver
d3e5bc3141
Merge pull request #2132 from SchrodingersGat/esc-forms
Adds setting to close forms using escape key
2021-10-11 11:41:56 +11:00
Oliver
ab4c428031 Allow conversion of out-of-stock items 2021-10-11 11:31:23 +11:00
Oliver
49601d2b7e
Merge pull request #2130 from SchrodingersGat/links-fix
Fix various documentation links
2021-10-11 11:23:53 +11:00
Oliver
f978924c4e Adds required tabindex 2021-10-11 11:23:35 +11:00
Oliver
25031e09e4 Enable setting for legacy launchModalForm function 2021-10-11 11:22:17 +11:00
Oliver
a32b5fdd64 Adds setting to close forms using escape key
- Configurable per user
- Default = false (to preserve behavior)
2021-10-11 11:16:33 +11:00
Oliver
8d33ee6298
Merge pull request #2129 from SchrodingersGat/sub-part-from-bom
Add option to BomItem form to create a new part
2021-10-11 10:59:30 +11:00
Oliver
c7bfce4a64 Fix various documentation links
- Reference the configured docs verrsion
2021-10-11 10:53:49 +11:00
Oliver
2f59e31a40
Merge pull request #2128 from SchrodingersGat/bom-focus
Auto-focus on the 'sub_part' field
2021-10-11 10:46:29 +11:00
Oliver
ede4ac9219 Add option to BomItem form to create a new part 2021-10-11 10:40:03 +11:00
Oliver
00275d61eb Auto-focus on the 'sub_part' field 2021-10-11 10:25:36 +11:00
Oliver
cfbcb80285 Documentation URL is now hard-coded
- Also checked as part of CI step
2021-10-11 10:19:59 +11:00
Matthias Mair
848a72604e
Merge branch 'inventree:master' into fr-1421-sso 2021-10-08 22:38:16 +02:00
Oliver
b6d966b3fd Fix: New translations django.po from Crowdin 2021-10-08 13:15:41 +11:00
Oliver
b60feea8cf Fix: New translations django.po from Crowdin 2021-10-08 13:15:40 +11:00
Oliver
c62042c836 Fix: New translations django.po from Crowdin 2021-10-08 13:15:38 +11:00
Oliver
6254182059 Fix: New translations django.po from Crowdin 2021-10-08 13:15:37 +11:00
Oliver
b234b18324 Fix: New translations django.po from Crowdin 2021-10-08 13:15:36 +11:00
Oliver
49162331d5 Fix: New translations django.po from Crowdin 2021-10-08 13:15:34 +11:00
Oliver
2aa0897a6f Fix: New translations django.po from Crowdin 2021-10-08 13:15:33 +11:00
Oliver
10abaae43d Fix: New translations django.po from Crowdin 2021-10-08 13:15:32 +11:00
Oliver
a18be6328f Fix: New translations django.po from Crowdin 2021-10-08 13:15:30 +11:00
Oliver
0db184fab6 Fix: New translations django.po from Crowdin 2021-10-08 13:15:29 +11:00
Oliver
533d16d3e1 Fix: New translations django.po from Crowdin 2021-10-08 13:15:27 +11:00
Oliver
8237e1a327 Fix: New translations django.po from Crowdin 2021-10-08 13:15:26 +11:00
Oliver
9c0b629cea Fix: New translations django.po from Crowdin 2021-10-08 13:15:24 +11:00
Oliver
6733c1e1ff Fix: New translations django.po from Crowdin 2021-10-08 13:15:23 +11:00
Oliver
ac48e36070 Fix: New translations django.po from Crowdin 2021-10-08 13:15:22 +11:00
Oliver
5755b615cb Fix: New translations django.po from Crowdin 2021-10-08 13:15:20 +11:00
Oliver
5e818f7bd8 Fix: New translations django.po from Crowdin 2021-10-08 13:15:19 +11:00
Oliver
71443bd003 Fix: New translations django.po from Crowdin 2021-10-08 13:15:17 +11:00
Oliver
07d05ed000 PEP fix 2021-10-08 12:50:24 +11:00
Oliver
77c6e5e57e Update display of BOM table based on the configurable setting 2021-10-08 12:47:51 +11:00
Oliver
69d932e193 Add a global setting to control price display in BOM tables 2021-10-08 12:47:27 +11:00
Oliver
d8b9420d2d Add a query param `?include_pricing' to the BomItem API
- Set this to false to disable pricing info in BOM
- Drastic reduction in query speed
2021-10-08 12:47:03 +11:00
Oliver
b0098d3ddc Fix: New translations django.po from Crowdin 2021-10-08 04:48:11 +11:00
Oliver
2b73e7b9ac Fix: New translations django.po from Crowdin 2021-10-08 03:43:05 +11:00
Matthias
fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso 2021-10-07 18:12:25 +02:00
Matthias
68f5af26b6
dont show mail functions if not enabled 2021-10-07 18:08:55 +02:00
Matthias
a45b8dcf0e
check also here if mail is enabled 2021-10-07 17:50:36 +02:00
Matthias
9a310bdd5c
do not send if not configured 2021-10-07 17:42:20 +02:00
Matthias
6c0c8bf1b6
PEP fix 2021-10-07 17:32:58 +02:00
Matthias
c37e40d144
use tag for testing 2021-10-07 17:31:18 +02:00
Matthias
c83d244663
change of strategies 2021-10-07 17:30:34 +02:00
Matthias
b4d9f0ff7e
fix save arguments 2021-10-07 17:11:47 +02:00
Matthias
8ef07dcf61
custom reset form 2021-10-07 15:08:08 +02:00
Matthias
f89dd84daf
check if mail is enabled 2021-10-07 14:24:20 +02:00
Matthias
a6c6b5c248
check if registration should be open in python 2021-10-07 14:08:19 +02:00
Oliver
4c653f1ba1 Fix: New translations django.po from Crowdin 2021-10-07 14:02:14 +11:00
Oliver
60f6e58f55 Fix: New translations django.po from Crowdin 2021-10-07 14:02:13 +11:00
Oliver
ef3070075f Fix: New translations django.po from Crowdin 2021-10-07 14:02:11 +11:00
Oliver
358c41ba1a Fix: New translations django.po from Crowdin 2021-10-07 14:02:10 +11:00
Oliver
64b7e05aa9 Fix: New translations django.po from Crowdin 2021-10-07 14:02:09 +11:00
Oliver
682cc6474e Fix: New translations django.po from Crowdin 2021-10-07 14:02:07 +11:00
Oliver
6ff5a515f8 Fix: New translations django.po from Crowdin 2021-10-07 14:02:06 +11:00
Oliver
dd210d358e Fix: New translations django.po from Crowdin 2021-10-07 14:02:03 +11:00
Oliver
48495baeb4 Fix: New translations django.po from Crowdin 2021-10-07 14:02:02 +11:00
Oliver
f31aab99fa Fix: New translations django.po from Crowdin 2021-10-07 14:02:00 +11:00
Oliver
6349237608 Fix: New translations django.po from Crowdin 2021-10-07 14:01:59 +11:00
Oliver
4f25763d89 Fix: New translations django.po from Crowdin 2021-10-07 14:01:57 +11:00
Oliver
5e13712eca Fix: New translations django.po from Crowdin 2021-10-07 14:01:55 +11:00
Oliver
f55c241e94 Fix: New translations django.po from Crowdin 2021-10-07 14:01:54 +11:00
Oliver
3eefaa41ce Fix: New translations django.po from Crowdin 2021-10-07 14:01:52 +11:00
Oliver
72a4ba217e Fix: New translations django.po from Crowdin 2021-10-07 14:01:50 +11:00
Oliver
000ee58d37 Fix: New translations django.po from Crowdin 2021-10-07 14:01:48 +11:00
Oliver
f48a2c21d1 Fix: New translations django.po from Crowdin 2021-10-07 14:01:47 +11:00
Oliver
50d861e763
Merge pull request #2119 from SchrodingersGat/sales-order-export
Adds view for exporting sales order
2021-10-07 13:54:34 +11:00
Oliver
64cf916c50 Add a form to select export format 2021-10-07 13:33:10 +11:00
Oliver
d391c5059b Adds button to sales order page to export to file 2021-10-07 13:21:30 +11:00
Oliver
996ccbe5bd Adds view for exporting sales order 2021-10-07 13:16:25 +11:00
Oliver
fece2c8c94 Fix: New translations django.po from Crowdin 2021-10-07 12:23:11 +11:00
Oliver
59afb2b236 Fix: New translations django.po from Crowdin 2021-10-07 12:23:10 +11:00
Oliver
725644fc21 Fix: New translations django.po from Crowdin 2021-10-07 12:23:08 +11:00
Oliver
644574af8b Fix: New translations django.po from Crowdin 2021-10-07 12:23:06 +11:00
Oliver
d62576cb19 Fix: New translations django.po from Crowdin 2021-10-07 12:23:04 +11:00
Oliver
98e5c4889b Fix: New translations django.po from Crowdin 2021-10-07 12:23:03 +11:00
Oliver
24c92f07d1 Fix: New translations django.po from Crowdin 2021-10-07 12:23:02 +11:00
Oliver
951d05ae30 Fix: New translations django.po from Crowdin 2021-10-07 12:23:00 +11:00
Oliver
41b363916a Fix: New translations django.po from Crowdin 2021-10-07 12:22:58 +11:00
Oliver
c4edb35ca9 Fix: New translations django.po from Crowdin 2021-10-07 12:22:56 +11:00
Oliver
13646f4885 Fix: New translations django.po from Crowdin 2021-10-07 12:22:55 +11:00
Oliver
0b73d3e2a9 Fix: New translations django.po from Crowdin 2021-10-07 12:22:54 +11:00
Oliver
0af0055535 Fix: New translations django.po from Crowdin 2021-10-07 12:22:52 +11:00
Oliver
9cc993a2c3 Fix: New translations django.po from Crowdin 2021-10-07 12:22:51 +11:00
Oliver
f54a0e16a2 Fix: New translations django.po from Crowdin 2021-10-07 12:22:50 +11:00
Oliver
dc8cc3ca78 Fix: New translations django.po from Crowdin 2021-10-07 12:22:49 +11:00
Oliver
aa0bf05cd1 Fix: New translations django.po from Crowdin 2021-10-07 12:22:47 +11:00
Oliver
eef6e39ed1 Fix: New translations django.po from Crowdin 2021-10-07 12:22:46 +11:00
Oliver
a69bcb9f18
Merge pull request #2118 from SchrodingersGat/bom-export-fix
Fix error on BOM export
2021-10-07 12:14:31 +11:00
Oliver
22d3b05dc6 Fix error on BOM export 2021-10-07 11:52:41 +11:00
Oliver
5a8cf990a2 Fix: New translations django.po from Crowdin 2021-10-07 11:24:38 +11:00
Oliver
8c28dd2513 Fix: New translations django.po from Crowdin 2021-10-07 11:24:37 +11:00
Oliver
4961e90783 Fix: New translations django.po from Crowdin 2021-10-07 11:24:35 +11:00
Oliver
8a407b4f76 Fix: New translations django.po from Crowdin 2021-10-07 11:24:34 +11:00
Oliver
3cc3e0deb9 Fix: New translations django.po from Crowdin 2021-10-07 11:24:33 +11:00
Oliver
9bbda5129f Fix: New translations django.po from Crowdin 2021-10-07 11:24:30 +11:00
Oliver
2b68e19113 Fix: New translations django.po from Crowdin 2021-10-07 11:24:28 +11:00
Oliver
c071d5705d Fix: New translations django.po from Crowdin 2021-10-07 11:24:27 +11:00
Oliver
54723fac28 Fix: New translations django.po from Crowdin 2021-10-07 11:24:26 +11:00
Oliver
3b80737cab Fix: New translations django.po from Crowdin 2021-10-07 11:24:23 +11:00
Oliver
b49355a639 Fix: New translations django.po from Crowdin 2021-10-07 11:24:22 +11:00
Oliver
8e1d852958 Fix: New translations django.po from Crowdin 2021-10-07 11:24:20 +11:00
Oliver
256b09b9ab Fix: New translations django.po from Crowdin 2021-10-07 11:24:19 +11:00
Oliver
6afd184dd0 Fix: New translations django.po from Crowdin 2021-10-07 11:24:17 +11:00
Oliver
3294d259b5 Fix: New translations django.po from Crowdin 2021-10-07 11:24:16 +11:00
Oliver
63e11be783 Fix: New translations django.po from Crowdin 2021-10-07 11:24:15 +11:00
Oliver
42d1481d98 Fix: New translations django.po from Crowdin 2021-10-07 11:24:13 +11:00
Oliver
80b328c6f3 Fix: New translations django.po from Crowdin 2021-10-07 11:24:12 +11:00
Oliver
31665e3b8d Enable editing of "sales order" from build order
- Add a renderer for the sales order model
2021-10-07 10:45:14 +11:00
Oliver
55fd2da123 Fix: New translations django.po from Crowdin 2021-10-06 22:47:57 +11:00
Oliver
589476f96e Fix: New translations django.po from Crowdin 2021-10-06 22:47:56 +11:00
Oliver
b5b3cb47e1 Fix: New translations django.po from Crowdin 2021-10-06 22:47:55 +11:00
Oliver
7ad1b9f8f1 Fix: New translations django.po from Crowdin 2021-10-06 22:47:53 +11:00
Oliver
e5474504b8 Fix: New translations django.po from Crowdin 2021-10-06 22:47:52 +11:00
Oliver
6d6e62c329 Fix: New translations django.po from Crowdin 2021-10-06 22:47:51 +11:00
Oliver
65ff7d7530 Fix: New translations django.po from Crowdin 2021-10-06 22:47:49 +11:00
Oliver
82066bc24e Fix: New translations django.po from Crowdin 2021-10-06 22:47:48 +11:00
Oliver
3587eda9f2 Fix: New translations django.po from Crowdin 2021-10-06 22:47:46 +11:00
Oliver
bd178ddf6b Fix: New translations django.po from Crowdin 2021-10-06 22:47:45 +11:00
Oliver
02960444e4 Fix: New translations django.po from Crowdin 2021-10-06 22:47:44 +11:00
Oliver
53af1b6b08 Fix: New translations django.po from Crowdin 2021-10-06 22:47:41 +11:00
Oliver
b68003a6c7 Fix: New translations django.po from Crowdin 2021-10-06 22:47:40 +11:00
Oliver
355cb39e18 Fix: New translations django.po from Crowdin 2021-10-06 22:47:39 +11:00
Oliver
f025dbef51 Fix: New translations django.po from Crowdin 2021-10-06 22:47:37 +11:00
Oliver
1c1f736401 Fix: New translations django.po from Crowdin 2021-10-06 22:47:36 +11:00
Oliver
f6a827462f Fix: New translations django.po from Crowdin 2021-10-06 22:47:35 +11:00
Oliver
22384ac27d Fix: New translations django.po from Crowdin 2021-10-06 22:47:33 +11:00
Oliver
d9fddf64f1 Make this setting a per-user setting 2021-10-06 22:22:20 +11:00
Oliver
166af3592d Add optional display of part stock quantity in forms 2021-10-06 22:12:59 +11:00
Oliver
a19203d17d Fix: New translations django.po from Crowdin 2021-10-06 21:23:44 +11:00
Oliver
3192eea68f Fix: New translations django.po from Crowdin 2021-10-06 21:23:43 +11:00
Oliver
7e3192896e Fix: New translations django.po from Crowdin 2021-10-06 21:23:41 +11:00
Oliver
c5e67004bf Fix: New translations django.po from Crowdin 2021-10-06 21:23:40 +11:00
Oliver
9ed842b8d7 Fix: New translations django.po from Crowdin 2021-10-06 21:23:38 +11:00
Oliver
ffed4b4818 Fix: New translations django.po from Crowdin 2021-10-06 21:23:37 +11:00
Oliver
d698359417 Fix: New translations django.po from Crowdin 2021-10-06 21:23:34 +11:00
Oliver
eaf0156d20 Fix: New translations django.po from Crowdin 2021-10-06 21:23:33 +11:00
Oliver
a174106189 Fix: New translations django.po from Crowdin 2021-10-06 21:23:32 +11:00
Oliver
7e6653d964 Fix: New translations django.po from Crowdin 2021-10-06 21:23:30 +11:00
Oliver
9f1ce90b68 Fix: New translations django.po from Crowdin 2021-10-06 21:23:29 +11:00
Oliver
1be55ef078 Fix: New translations django.po from Crowdin 2021-10-06 21:23:28 +11:00
Oliver
32ee020d63 Fix: New translations django.po from Crowdin 2021-10-06 21:23:26 +11:00
Oliver
4a218c030e Fix: New translations django.po from Crowdin 2021-10-06 21:23:25 +11:00
Oliver
722e2d2716 Fix: New translations django.po from Crowdin 2021-10-06 21:23:24 +11:00
Oliver
400279e721 Fix: New translations django.po from Crowdin 2021-10-06 21:23:22 +11:00
Oliver
c6034030d6 Fix: New translations django.po from Crowdin 2021-10-06 21:23:21 +11:00
Oliver
4a5871c6fb Fix: New translations django.po from Crowdin 2021-10-06 21:23:20 +11:00
Oliver
80d8645a0c Adds a new task to periodically remove old error messages 2021-10-06 21:20:40 +11:00
Oliver
bc3be635ae Reset modal image when a new image is uploaded 2021-10-06 21:03:40 +11:00
Oliver
c2d33588d0
Merge pull request #2112 from SchrodingersGat/docs-link-fix
Fix docs link for release versions
2021-10-06 20:52:34 +11:00
Oliver
a8388b0999 JS linting 2021-10-06 20:35:51 +11:00
Oliver
5b94e24af1 Fix docs link for release versions
- Use full x.y.z format
- Requires a docs release for every code relesase
2021-10-06 20:23:42 +11:00
Oliver
535d45bce4 Remove outdated Views / Forms 2021-10-06 20:19:29 +11:00
Oliver
5cdf5a2670 Only include "in stocK" field if the sales order is pending 2021-10-06 20:16:59 +11:00
Oliver
336b05aa4e Exclude sales order allocations when searching stock 2021-10-06 17:42:00 +11:00
Oliver
c312d95277 Fix: New translations django.po from Crowdin 2021-10-06 17:36:53 +11:00
Oliver
11a75cf5b8 Fix: New translations django.po from Crowdin 2021-10-06 17:36:52 +11:00
Oliver
6b1d44a61c Fix: New translations django.po from Crowdin 2021-10-06 17:36:51 +11:00
Oliver
5eca5be363 Fix: New translations django.po from Crowdin 2021-10-06 17:36:49 +11:00
Oliver
d47c14eef8 Fix: New translations django.po from Crowdin 2021-10-06 17:36:48 +11:00
Oliver
f8b9c0ea90 Fix: New translations django.po from Crowdin 2021-10-06 17:36:47 +11:00
Oliver
8a4404bd1b Fix: New translations django.po from Crowdin 2021-10-06 17:36:45 +11:00
Oliver
67f261820b Fix: New translations django.po from Crowdin 2021-10-06 17:36:44 +11:00
Oliver
e5ea5de7cb Fix: New translations django.po from Crowdin 2021-10-06 17:36:42 +11:00
Oliver
fd1f5c454b Fix: New translations django.po from Crowdin 2021-10-06 17:36:41 +11:00
Oliver
ea2d773311 Fix: New translations django.po from Crowdin 2021-10-06 17:36:40 +11:00
Oliver
27bb33a6c8 Fix: New translations django.po from Crowdin 2021-10-06 17:36:39 +11:00
Oliver
f4e50d2502 Fix: New translations django.po from Crowdin 2021-10-06 17:36:36 +11:00
Oliver
b5d2ad24cf Fix: New translations django.po from Crowdin 2021-10-06 17:36:35 +11:00
Oliver
48d9cd794c Fix: New translations django.po from Crowdin 2021-10-06 17:36:34 +11:00
Oliver
dbe181a21c Fix: New translations django.po from Crowdin 2021-10-06 17:36:32 +11:00
Oliver
c698bac9b6 Fix: New translations django.po from Crowdin 2021-10-06 17:36:31 +11:00
Oliver
00a38c22d1 Fix: New translations django.po from Crowdin 2021-10-06 17:36:30 +11:00
Oliver
cbd2732622 Merge remote-tracking branch 'inventree/master' into sales-order-allocation-fixes 2021-10-06 17:28:38 +11:00
Oliver
b5c5842e7d Add ability to create a new sales order allocation using the API forms framework 2021-10-06 17:26:48 +11:00
Oliver
4d13674452 Migrate views to use the API forms architecture:
- SalesOrderAllocationEdit
- SalesOrderAllocationDelete
2021-10-06 17:16:01 +11:00
Oliver
87775ae16b Brace yourseflf 2021-10-06 17:02:27 +11:00
Oliver
b8b4c60c43 Fix API endpoints for so-allocation detail 2021-10-06 17:02:03 +11:00
Oliver
e055902f3e More JS linting 2021-10-06 16:58:00 +11:00
Oliver
0b7811b7e0 Add API endpoint for SalesOrderAllocation model
- Increment API version number
2021-10-06 16:54:40 +11:00
Oliver
21be5b4a26 JS linting 2021-10-06 16:52:56 +11:00
Oliver
ac3a97d4d6 Fix button callbacks for the allocation table 2021-10-06 16:47:21 +11:00
Oliver
4d8bec9663 Fix rendering of row sub tables 2021-10-06 16:38:13 +11:00
Oliver
f9f8527ae5 Fix build button
- Now links into the API forms
2021-10-06 16:20:15 +11:00
Oliver
4d2cf233b3 Move the "loadSalesOrderLineItemTable" code to order.js 2021-10-06 16:14:39 +11:00
Matthias Mair
2d65f6f905
Merge branch 'inventree:master' into fr-1421-sso 2021-10-06 02:01:16 +02:00
Oliver
bf32343399 Fix: New translations django.po from Crowdin 2021-10-06 10:02:08 +11:00
Oliver
0e5a6f4ef3 Fix: New translations django.po from Crowdin 2021-10-06 10:02:06 +11:00
Oliver
832855c9d7 Fix: New translations django.po from Crowdin 2021-10-06 10:02:05 +11:00
Oliver
5252b0759b Fix: New translations django.po from Crowdin 2021-10-06 10:02:04 +11:00
Oliver
b5724787b1 Fix: New translations django.po from Crowdin 2021-10-06 10:02:02 +11:00
Oliver
3d7c60b4a4 Fix: New translations django.po from Crowdin 2021-10-06 10:02:01 +11:00
Oliver
fcd9dfa692 Fix: New translations django.po from Crowdin 2021-10-06 10:01:59 +11:00
Oliver
1b694fb0a3 Fix: New translations django.po from Crowdin 2021-10-06 10:01:58 +11:00
Oliver
b6a3803819 Fix: New translations django.po from Crowdin 2021-10-06 10:01:56 +11:00
Oliver
f449f92b32 Fix: New translations django.po from Crowdin 2021-10-06 10:01:55 +11:00
Oliver
65767255b3 Fix: New translations django.po from Crowdin 2021-10-06 10:01:54 +11:00
Oliver
f2a4feedbb Fix: New translations django.po from Crowdin 2021-10-06 10:01:52 +11:00
Oliver
85cf838e91 Fix: New translations django.po from Crowdin 2021-10-06 10:01:51 +11:00
Oliver
7b17cd20f6 Fix: New translations django.po from Crowdin 2021-10-06 10:01:50 +11:00
Oliver
51e6fb670c Fix: New translations django.po from Crowdin 2021-10-06 10:01:49 +11:00
Oliver
3a9955d1e9 Fix: New translations django.po from Crowdin 2021-10-06 10:01:47 +11:00
Oliver
4b485c4bce Fix: New translations django.po from Crowdin 2021-10-06 10:01:46 +11:00
Oliver
8334072438 Fix: New translations django.po from Crowdin 2021-10-06 10:01:45 +11:00
Oliver
05de802d1d javascript linting 2021-10-06 09:14:06 +11:00
Oliver
95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00
Oliver
758e402a66 PEP style fixes 2021-10-05 23:06:12 +11:00
Oliver
6fd1abb07a Remove unused view class 2021-10-05 22:58:28 +11:00
Oliver
0a2a81582e Handle case where notes are not provided 2021-10-05 22:46:34 +11:00
Oliver
102f886d81 All stock adjustment actions ported to new scheme
- Bumped API version too
2021-10-05 22:26:21 +11:00
Oliver
f197d8b1da Adds a DRF serializer for stock adjustments
- Currently the "StockCount" action has been transferred
2021-10-05 22:04:17 +11:00
Oliver
ef11985a59 Fix: New translations django.po from Crowdin 2021-10-05 19:20:18 +11:00
Oliver
a868ef7f1b Fix: New translations django.po from Crowdin 2021-10-05 18:10:16 +11:00
Oliver
b9144c9713 Fix: New translations django.po from Crowdin 2021-10-05 18:10:15 +11:00
Oliver
e338dafe4b Fix: New translations django.po from Crowdin 2021-10-05 18:10:14 +11:00
Oliver
ca10db8af0 Fix: New translations django.po from Crowdin 2021-10-05 18:10:12 +11:00
Oliver
a31f3ec1e4 Fix: New translations django.po from Crowdin 2021-10-05 18:10:11 +11:00
Oliver
f31b7902ca Fix: New translations django.po from Crowdin 2021-10-05 18:10:09 +11:00
Oliver
b633c1f79e Fix: New translations django.po from Crowdin 2021-10-05 18:10:08 +11:00
Oliver
2c226816ba Fix: New translations django.po from Crowdin 2021-10-05 18:10:07 +11:00
Oliver
3d52f2f6c1 Fix: New translations django.po from Crowdin 2021-10-05 18:10:05 +11:00
Oliver
a659583947 Fix: New translations django.po from Crowdin 2021-10-05 18:10:03 +11:00
Oliver
d9dff44a61 Fix: New translations django.po from Crowdin 2021-10-05 18:10:01 +11:00
Oliver
758698b666 Fix: New translations django.po from Crowdin 2021-10-05 18:09:59 +11:00
Oliver
a1f3c9876d Fix: New translations django.po from Crowdin 2021-10-05 18:09:58 +11:00
Oliver
a50029fdbe Fix: New translations django.po from Crowdin 2021-10-05 18:09:56 +11:00
Oliver
4906884578 Fix: New translations django.po from Crowdin 2021-10-05 18:09:55 +11:00
Oliver
135f945b35 Fix: New translations django.po from Crowdin 2021-10-05 18:09:54 +11:00
Oliver
eea7bcd42d Fix: New translations django.po from Crowdin 2021-10-05 18:09:52 +11:00
Oliver
0988953b74 Fix: New translations django.po from Crowdin 2021-10-05 18:09:51 +11:00
Oliver
93c53315cc Unit test fixes 2021-10-05 17:35:10 +11:00
Oliver
dd760bfecd Add filtering by "completed" status for purchase order line items 2021-10-05 17:15:41 +11:00
Oliver
5e951ef64b Add 'filtering' for purchase order line item table 2021-10-05 16:57:33 +11:00
Oliver
87f1bd87e7 Add button to receive selected items 2021-10-05 16:52:24 +11:00
Oliver
8684b55582 PEP fixes 2021-10-05 16:39:18 +11:00
Oliver
05d8f2b216 Remove outdated unit test case 2021-10-05 16:35:11 +11:00
Oliver
ce7552bc5b JS linting 2021-10-05 16:10:46 +11:00
Oliver
1ea9b6f4cf PEP fixes 2021-10-05 16:10:00 +11:00
Oliver
dd4428464d Receiving items against a purchase order now makes use of the API forms
- Delete old unused code
- Improve serializer validation
2021-10-05 16:05:18 +11:00
Oliver
a579bc8721 Initialize destination field 2021-10-05 15:10:16 +11:00
Oliver
b75e817447 Construct bare-bones API form 2021-10-05 14:57:50 +11:00
Oliver
5eef78abcf Fix: New translations django.po from Crowdin 2021-10-05 13:43:13 +11:00
Oliver
9de09b8ede Fix: New translations django.po from Crowdin 2021-10-05 13:43:12 +11:00
Oliver
bacccf9240 Fix: New translations django.po from Crowdin 2021-10-05 13:43:11 +11:00
Oliver
ebb2f0a771 Fix: New translations django.po from Crowdin 2021-10-05 13:43:09 +11:00
Oliver
056ce5646b Fix: New translations django.po from Crowdin 2021-10-05 13:43:08 +11:00
Oliver
b41518a86f Fix: New translations django.po from Crowdin 2021-10-05 13:43:06 +11:00
Oliver
4b081ea7f3 Fix: New translations django.po from Crowdin 2021-10-05 13:43:05 +11:00
Oliver
72372896a5 Fix: New translations django.po from Crowdin 2021-10-05 13:43:04 +11:00
Oliver
7e2d484988 Fix: New translations django.po from Crowdin 2021-10-05 13:43:02 +11:00
Oliver
dd46accdc0 Fix: New translations django.po from Crowdin 2021-10-05 13:43:01 +11:00
Oliver
104d6f96a3 Fix: New translations django.po from Crowdin 2021-10-05 13:42:59 +11:00
Oliver
28561597a0 Fix: New translations django.po from Crowdin 2021-10-05 13:42:58 +11:00
Oliver
af45be0713 Fix: New translations django.po from Crowdin 2021-10-05 13:42:56 +11:00
Oliver
eea9f816d2 Fix: New translations django.po from Crowdin 2021-10-05 13:42:55 +11:00
Oliver
3ce0433338 Fix: New translations django.po from Crowdin 2021-10-05 13:42:54 +11:00
Oliver
cadd922313 Fix: New translations django.po from Crowdin 2021-10-05 13:42:52 +11:00
Oliver
6a6bcb2451 Fix: New translations django.po from Crowdin 2021-10-05 13:42:51 +11:00
Oliver
7bf53989d1 Fix: New translations django.po from Crowdin 2021-10-05 13:42:50 +11:00
Oliver
e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
Oliver
e3e296dd24
Merge pull request #2101 from SchrodingersGat/completed-output-table-fix
Fixes for build output tables
2021-10-05 12:52:35 +11:00
Oliver
b47c4075f8 Fix: New translations django.po from Crowdin 2021-10-05 12:41:34 +11:00
Oliver
27f4a2ca43 Fix: New translations django.po from Crowdin 2021-10-05 12:41:32 +11:00
Oliver
05b85533f6 Fix: New translations django.po from Crowdin 2021-10-05 12:41:31 +11:00
Oliver
f1b5aa16ff Fix: New translations django.po from Crowdin 2021-10-05 12:41:29 +11:00
Oliver
5d05d728be Fix: New translations django.po from Crowdin 2021-10-05 12:41:28 +11:00
Oliver
0c487488ff Fix: New translations django.po from Crowdin 2021-10-05 12:41:27 +11:00
Oliver
69815e6cc4 Fix: New translations django.po from Crowdin 2021-10-05 12:41:25 +11:00
Oliver
7600dbe720 Fix: New translations django.po from Crowdin 2021-10-05 12:41:24 +11:00
Oliver
a95d998056 Fix: New translations django.po from Crowdin 2021-10-05 12:41:23 +11:00
Oliver
9f51d9d4f9 Fix: New translations django.po from Crowdin 2021-10-05 12:41:22 +11:00
Oliver
50988f3c3c Fix: New translations django.po from Crowdin 2021-10-05 12:41:20 +11:00
Oliver
a5ce9b19b1 Fix: New translations django.po from Crowdin 2021-10-05 12:41:19 +11:00
Oliver
ecfde295de Fix: New translations django.po from Crowdin 2021-10-05 12:41:18 +11:00
Oliver
40f8a03846 Fix: New translations django.po from Crowdin 2021-10-05 12:41:15 +11:00
Oliver
ebcd9d0569 Fix: New translations django.po from Crowdin 2021-10-05 12:41:14 +11:00
Oliver
34a7540ae9 Fix: New translations django.po from Crowdin 2021-10-05 12:41:12 +11:00
Oliver
f3ced5f6ac Fix: New translations django.po from Crowdin 2021-10-05 12:41:11 +11:00
Oliver
9a23fcc243 Fix: New translations django.po from Crowdin 2021-10-05 12:41:10 +11:00
Oliver
a3ba33cae8 Fixes for build output tables
- Only show "completed" builds in the "completed builds" table (should be obvious)
- Display "serial number" appropriately in build output allocation table
2021-10-05 12:32:54 +11:00
Oliver
99503a60d3 Fix for "barcode" field in purchase order receive serializer
- Allow blank values!
2021-10-05 12:16:41 +11:00
Oliver
ddcfc8996c Further fixes for API / serializer classes
- Correctly catch and re-throw errors
- Provide request to serializer context
2021-10-05 12:12:37 +11:00
Oliver
29588ff2c5 Refactor the POReceive API endpoint
- Lessons learned from the build allocate
- Use serializer.save() directly
2021-10-05 11:20:43 +11:00
Oliver
7ecd4c70e7 JS linting 2021-10-05 11:02:57 +11:00
Oliver
e7d78db87b Fixes for unit tests 2021-10-05 10:53:11 +11:00
Oliver
b90838db9c Fix: New translations django.po from Crowdin 2021-10-05 10:43:56 +11:00
Oliver
4f7f9ae7bc Fix: New translations django.po from Crowdin 2021-10-05 10:43:55 +11:00
Oliver
08ef8642a0 Fix: New translations django.po from Crowdin 2021-10-05 10:43:53 +11:00
Oliver
1a2ad29b67 Fix: New translations django.po from Crowdin 2021-10-05 10:43:52 +11:00
Oliver
6682d60eb6 Fix: New translations django.po from Crowdin 2021-10-05 10:43:51 +11:00
Oliver
0a258f9cd0 Fix: New translations django.po from Crowdin 2021-10-05 10:43:49 +11:00
Oliver
7b027f96f6 Fix: New translations django.po from Crowdin 2021-10-05 10:43:48 +11:00
Oliver
58fb20949d Fix: New translations django.po from Crowdin 2021-10-05 10:43:47 +11:00
Oliver
4c72e29e61 Fix: New translations django.po from Crowdin 2021-10-05 10:43:46 +11:00
Oliver
8fe8dd0067 Fix: New translations django.po from Crowdin 2021-10-05 10:43:44 +11:00
Oliver
1ef31d0f2a Fix: New translations django.po from Crowdin 2021-10-05 10:43:43 +11:00
Oliver
da2e278f15 Fix: New translations django.po from Crowdin 2021-10-05 10:43:42 +11:00
Oliver
bf6bd514f2 Fix: New translations django.po from Crowdin 2021-10-05 10:43:41 +11:00
Oliver
0055f1331b Fix: New translations django.po from Crowdin 2021-10-05 10:43:39 +11:00
Oliver
e209eb5beb Fix: New translations django.po from Crowdin 2021-10-05 10:43:38 +11:00
Oliver
29afe328d1 Fix: New translations django.po from Crowdin 2021-10-05 10:43:37 +11:00
Oliver
c9ce2949db Fix: New translations django.po from Crowdin 2021-10-05 10:43:35 +11:00
Oliver
6a6b7f57ce Fix: New translations django.po from Crowdin 2021-10-05 10:43:34 +11:00
Oliver
563deb5ffa Add ability to specify "source location" for stock allocations
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
Oliver
76668b0d54 Remove unused code (views / forms) 2021-10-05 09:21:33 +11:00
Oliver
f6cf84f912 Form now works for "tracked" build outputs 2021-10-05 08:48:50 +11:00
Matthias Mair
56221a33bf
Merge branch 'inventree:master' into fr-1421-sso 2021-10-04 23:26:07 +02:00
Oliver
ae0efe73d1 Further improvements to build allocation form
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
Oliver
0c04bfaa85 Move "rebuild_thumbnails" to being a management command
- Does not run every time the server reboots
- Has to be called manually
- Normally does not need to be run and is a long-running process!
2021-10-05 08:05:26 +11:00
eeintech
a735a3e15c Added migration file 2021-10-04 16:41:41 -04:00
eeintech
6e31a8111b Fix plural name for Companies in Admin interface 2021-10-04 15:57:07 -04:00
Oliver
17df4ca91e Refactor allocation form
- The data is already loaded in the main table!
- Why would we want to throw that data away?
2021-10-05 01:05:42 +11:00
Oliver
28509dbd68 Remove old unit test 2021-10-05 00:48:03 +11:00
Oliver
dd4db6442e PEP fixes 2021-10-05 00:45:49 +11:00
Oliver
40f1ccf9f8 Remove BuildAutoAllocate form 2021-10-05 00:40:10 +11:00
Oliver
416ba51e22 Add auto-fill option to select2 inputs on API forms
- WIll fill input if a single result is returned
2021-10-05 00:39:22 +11:00
Oliver
8a90b9df6d Improve clean() function for BuildItem model
- BuildItemDelete now handled by API forms
- BuildItemEdit now handled by API forms
2021-10-05 00:14:31 +11:00
Oliver
8f298f71ef Add detail API endpoint for BuildItem model 2021-10-04 23:57:02 +11:00
Oliver
5ded23fd99 Fixes for serializer validation
- Note: use the validate() function!
- Ref: https://www.django-rest-framework.org/api-guide/serializers/
- override serializer.save() functionality for simpler operation
2021-10-04 23:44:23 +11:00
Oliver
074466f087 Updates for stock allocation form
- Data submission
- Nested error handling
- Button callbacks to remove rows
2021-10-04 23:20:03 +11:00
Oliver
a9d5b776d3 Adds error handling of nested form fields in the API form processing layer
- Muy complejo
- But the results speak for themselves!
 -This will need to be rolled out into the coming refactor...
2021-10-04 22:41:59 +11:00
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
fdfc65ad4d Fix: New translations django.po from Crowdin 2021-10-03 01:38:15 +10:00
Oliver
f7a2f5927d Fix: New translations django.po from Crowdin 2021-10-03 01:38:13 +10:00
Oliver
378f87ee08 Fix: New translations django.po from Crowdin 2021-10-03 01:38:12 +10:00
Oliver
a48a013685 Fix: New translations django.po from Crowdin 2021-10-03 01:38:11 +10:00
Oliver
af421a7d35 Fix: New translations django.po from Crowdin 2021-10-03 01:38:10 +10:00
Oliver
f0ce58cfb9 Fix: New translations django.po from Crowdin 2021-10-03 01:38:08 +10:00
Oliver
fb1ae01262 Fix: New translations django.po from Crowdin 2021-10-03 01:38:05 +10:00
Oliver
d6ac20bb8a Fix: New translations django.po from Crowdin 2021-10-03 01:38:04 +10:00
Oliver
f0adb19dd7 Fix: New translations django.po from Crowdin 2021-10-03 01:38:03 +10:00
Oliver
c5c2b07a75 Fix: New translations django.po from Crowdin 2021-10-03 01:38:00 +10:00
Oliver
c4f33f478f Fix: New translations django.po from Crowdin 2021-10-03 01:37:59 +10:00
Oliver
9b95dd7961 Fix: New translations django.po from Crowdin 2021-10-03 01:37:58 +10:00
Oliver
610b1b62a4 Fix: New translations django.po from Crowdin 2021-10-03 01:37:56 +10:00
Oliver
2ad87a044c Fix: New translations django.po from Crowdin 2021-10-03 01:37:55 +10:00
Oliver
0b70ba756d Fix: New translations django.po from Crowdin 2021-10-03 01:37:54 +10:00
Oliver
b288072ac7 Fix: New translations django.po from Crowdin 2021-10-03 01:37:52 +10:00
Oliver
ae016b0fe6 Fix: New translations django.po from Crowdin 2021-10-03 01:37:51 +10:00
Oliver
6fc9e7868d Fix: New translations django.po from Crowdin 2021-10-03 01:37:49 +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
a4f33ad839 Fix: New translations django.po from Crowdin 2021-10-01 08:51:29 +10:00
Oliver
6c8c45f1df Fix: New translations django.po from Crowdin 2021-10-01 08:51:28 +10:00
Oliver
fdcd836d11 Fix: New translations django.po from Crowdin 2021-10-01 08:51:27 +10:00
Oliver
7ab7cb1d6b Fix: New translations django.po from Crowdin 2021-10-01 08:51:25 +10:00
Oliver
ff6b4afb6d Fix: New translations django.po from Crowdin 2021-10-01 08:51:24 +10:00
Oliver
9185b18fd1 Fix: New translations django.po from Crowdin 2021-10-01 08:51:23 +10:00
Oliver
7db4f23c31 Fix: New translations django.po from Crowdin 2021-10-01 08:51:21 +10:00
Oliver
0970df1178 Fix: New translations django.po from Crowdin 2021-10-01 08:51:20 +10:00
Oliver
e91237e2f3 Fix: New translations django.po from Crowdin 2021-10-01 08:51:19 +10:00
Oliver
9887ca7dd5 Fix: New translations django.po from Crowdin 2021-10-01 08:51:18 +10:00
Oliver
511624d827 Fix: New translations django.po from Crowdin 2021-10-01 08:51:16 +10:00
Oliver
23a51c08b5 Fix: New translations django.po from Crowdin 2021-10-01 08:51:15 +10:00
Oliver
0d5c9d1179 Fix: New translations django.po from Crowdin 2021-10-01 08:51:14 +10:00
Oliver
eb9a1657ca Fix: New translations django.po from Crowdin 2021-10-01 08:51:12 +10:00
Oliver
5634ecf45a Fix: New translations django.po from Crowdin 2021-10-01 08:51:11 +10:00
Oliver
60368ae3cd Fix: New translations django.po from Crowdin 2021-10-01 08:51:10 +10:00
Oliver
e21b7f3663 Fix: New translations django.po from Crowdin 2021-10-01 08:51:09 +10:00
Oliver
c45a19cc1d Fix: New translations django.po from Crowdin 2021-10-01 08:51:07 +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
Oliver
e09c587f11 Fix: New translations django.po from Crowdin 2021-10-01 02:53:49 +10:00
Oliver
3cbdf1e700 Fix: New translations django.po from Crowdin 2021-10-01 01:50:46 +10:00
eeintech
480ff5e6cb Hide submit button in modal when part is still active 2021-09-30 09:58:23 -04:00
Oliver
94965ba5f9 Fix: New translations django.po from Crowdin 2021-09-30 22:23:53 +10:00
Oliver
29e2e920db Fix: New translations django.po from Crowdin 2021-09-30 22:23:51 +10:00
Oliver
3320d8b39e Fix: New translations django.po from Crowdin 2021-09-30 22:23:50 +10:00
Oliver
0e8bbc4a70 Fix: New translations django.po from Crowdin 2021-09-30 22:23:48 +10:00
Oliver
e92fc31699 Fix: New translations django.po from Crowdin 2021-09-30 22:23:47 +10:00
Oliver
6629bc2cff Fix: New translations django.po from Crowdin 2021-09-30 22:23:46 +10:00
Oliver
01d2f47787 Fix: New translations django.po from Crowdin 2021-09-30 22:23:44 +10:00
Oliver
4ca50cf457 Fix: New translations django.po from Crowdin 2021-09-30 22:23:43 +10:00
Oliver
e6c69abdfa Fix: New translations django.po from Crowdin 2021-09-30 22:23:41 +10:00
Oliver
82654e0413 Fix: New translations django.po from Crowdin 2021-09-30 22:23:39 +10:00
Oliver
f4b2da089d Fix: New translations django.po from Crowdin 2021-09-30 22:23:36 +10:00
Oliver
984e228af1 Fix: New translations django.po from Crowdin 2021-09-30 22:23:35 +10:00
Oliver
ea946285c4 Fix: New translations django.po from Crowdin 2021-09-30 22:23:33 +10:00
Oliver
deb17fd658 Fix: New translations django.po from Crowdin 2021-09-30 22:23:32 +10:00
Oliver
b0ace453c9 Fix: New translations django.po from Crowdin 2021-09-30 22:23:31 +10:00
Oliver
63a932f5cd Fix: New translations django.po from Crowdin 2021-09-30 22:23:29 +10:00
Oliver
b8352ffb95 Fix: New translations django.po from Crowdin 2021-09-30 22:23:28 +10:00
Oliver
81ebce1ebd Fix: New translations django.po from Crowdin 2021-09-30 22:23:27 +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
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
Matthias Mair
acbea53a3d
Merge branch 'inventree:master' into fr-1421-sso 2021-09-29 00:41:25 +02:00
Oliver
dc3105161e Fix: New translations django.po from Crowdin 2021-09-28 11:13:13 +10:00
Oliver
ea72022116 Fix: New translations django.po from Crowdin 2021-09-28 11:13:12 +10:00
Oliver
7be5676b9a Fix: New translations django.po from Crowdin 2021-09-28 11:13:10 +10:00
Oliver
0224d6458b Fix: New translations django.po from Crowdin 2021-09-28 11:13:09 +10:00
Oliver
7cefac14ee Fix: New translations django.po from Crowdin 2021-09-28 11:13:07 +10:00
Oliver
1c7d9183d3 Fix: New translations django.po from Crowdin 2021-09-28 11:13:06 +10:00
Oliver
67dae1d40f Fix: New translations django.po from Crowdin 2021-09-28 11:13:04 +10:00
Oliver
8df8a43aa7 Fix: New translations django.po from Crowdin 2021-09-28 11:13:03 +10:00
Oliver
9273f4f5ea Fix: New translations django.po from Crowdin 2021-09-28 11:13:01 +10:00
Oliver
1fc1864905 Fix: New translations django.po from Crowdin 2021-09-28 11:13:00 +10:00
Oliver
bfd400d5ac Fix: New translations django.po from Crowdin 2021-09-28 11:12:59 +10:00
Oliver
730e1ca6f2 Fix: New translations django.po from Crowdin 2021-09-28 11:12:57 +10:00
Oliver
6937262a4f Fix: New translations django.po from Crowdin 2021-09-28 11:12:56 +10:00
Oliver
bd8ccdbffb Fix: New translations django.po from Crowdin 2021-09-28 11:12:55 +10:00
Oliver
34d4b79b4a Fix: New translations django.po from Crowdin 2021-09-28 11:12:53 +10:00
Oliver
e3b2f74775 Fix: New translations django.po from Crowdin 2021-09-28 11:12:52 +10:00
Oliver
776f3a48c2 Fix: New translations django.po from Crowdin 2021-09-28 11:12:50 +10:00
Oliver
fd4098b5cf Fix: New translations django.po from Crowdin 2021-09-28 11:12:49 +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
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
91148ec2ee Fix: New translations django.po from Crowdin 2021-09-26 19:40:24 +10:00
Oliver
c420d486d9 Fix: New translations django.po from Crowdin 2021-09-26 18:43:53 +10:00
Oliver
b9f67e26ba Fix: New translations django.po from Crowdin 2021-09-24 12:39:24 +10:00
Oliver
3411675af4 Fix: New translations django.po from Crowdin 2021-09-24 12:39:23 +10:00
Oliver
004b55ba85 Fix: New translations django.po from Crowdin 2021-09-24 12:39:22 +10:00
Oliver
9253a139fa Fix: New translations django.po from Crowdin 2021-09-24 12:39:20 +10:00
Oliver
7c2fc0e231 Fix: New translations django.po from Crowdin 2021-09-24 12:39:19 +10:00
Oliver
83e407ccf2 Fix: New translations django.po from Crowdin 2021-09-24 12:39:18 +10:00
Oliver
525ef2a4b7 Fix: New translations django.po from Crowdin 2021-09-24 12:39:17 +10:00
Oliver
16b13e879e Fix: New translations django.po from Crowdin 2021-09-24 12:39:15 +10:00
Oliver
1f54dd2633 Fix: New translations django.po from Crowdin 2021-09-24 12:39:14 +10:00
Oliver
37b05b2958 Fix: New translations django.po from Crowdin 2021-09-24 12:39:12 +10:00
Oliver
5f278d9ab1 Fix: New translations django.po from Crowdin 2021-09-24 12:39:11 +10:00
Oliver
7c22ce5d24 Fix: New translations django.po from Crowdin 2021-09-24 12:39:10 +10:00
Oliver
c724c26dcf Fix: New translations django.po from Crowdin 2021-09-24 12:39:08 +10:00
Oliver
8ee660f53d Fix: New translations django.po from Crowdin 2021-09-24 12:39:06 +10:00
Oliver
f2b0fc3e6e Fix: New translations django.po from Crowdin 2021-09-24 12:39:04 +10:00
Oliver
5824108efd Fix: New translations django.po from Crowdin 2021-09-24 12:39:03 +10:00
Oliver
e3b618f672 Fix: New translations django.po from Crowdin 2021-09-24 12:39:02 +10:00
Oliver
c63bb2b5e4 Fix: New translations django.po from Crowdin 2021-09-24 12:39:00 +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
Matthias Mair
44c5003839
Merge branch 'inventree:master' into fr-1421-sso 2021-09-24 00:32:38 +02:00
Oliver
2edc2487c3 Fix: New translations django.po from Crowdin 2021-09-23 02:45:16 +10:00
Oliver
6c7fba90a7 Fix: New translations django.po from Crowdin 2021-09-23 01:50:10 +10:00
Oliver
31aa3d0a6e Fix: New translations django.po from Crowdin 2021-09-22 10:34:44 +10:00
Oliver
f68c8edae2 Fix: New translations django.po from Crowdin 2021-09-22 10:34:42 +10:00
Oliver
79d0e91f67 Fix: New translations django.po from Crowdin 2021-09-22 10:34:40 +10:00