Commit Graph

12444 Commits

Author SHA1 Message Date
Oliver
4afb07c764
Merge pull request #2880 from SchrodingersGat/build-stock-availability
Visual improvements for build order stock allocation table
2022-04-27 10:18:34 +10:00
Oliver
481350b138 Refactor available quantity calculation for BOM table 2022-04-27 09:16:57 +10:00
Oliver
2a24fc43e7 Text formatting 2022-04-27 09:07:10 +10:00
Oliver
08ab99adc6 Build order table improvements:
- Display tick / cross badge for stock availability in build order table
- Correctly order available quantity
2022-04-27 09:04:57 +10:00
Oliver
01ce571a75
Merge pull request #2877 from matmair/matmair/issue2681
API Mixin cleanup
2022-04-27 08:42:10 +10:00
Matthias
d9c0698c34
remove oauth-toolkit 2022-04-26 23:53:07 +02:00
Oliver
fec43f126b
Merge pull request #2876 from SchrodingersGat/default-batch-code
Default batch code
2022-04-26 20:47:28 +10:00
Oliver
e59c0f9d47
Merge pull request #2875 from SchrodingersGat/stock-tab-fix
Re-enable the "pricing" tab
2022-04-26 20:29:26 +10:00
Oliver Walters
24da5d41b8 Add migration file 2022-04-26 20:21:15 +10:00
Oliver Walters
314cec5ad0 Generate default batch code for stock items 2022-04-26 20:18:33 +10:00
Oliver Walters
3f92f009e4 Add configurable setting for batch code generation 2022-04-26 20:00:06 +10:00
Oliver Walters
0b51ca2902 PEP fixes 2022-04-26 19:54:16 +10:00
Oliver Walters
7db11b627b Refactor PartSalePriceBreak and PartInternalPriceBreak tables to use the API
- Remove old server-side views
- Simplify code
2022-04-26 19:53:09 +10:00
Oliver Walters
cb12222e17 Re-enable the "pricing" tab
- Previously was gated entirely on the "PART_SHOW_PRICE_HISTORY" setting
2022-04-26 19:23:41 +10:00
Oliver
4c6c618af6
Merge pull request #2874 from SchrodingersGat/auto-allocate-fix
Prevent inactive or trackable parts from being 'auto allocated'
2022-04-26 18:48:16 +10:00
Oliver
89b8d04ca4
Merge pull request #2833 from SchrodingersGat/variant-available
Add 'available_variant_stock' to BomItem serializer
2022-04-26 18:47:56 +10:00
Oliver
3ef0386593 Prevent inactive or trackable parts from being 'auto allocated' 2022-04-26 17:14:47 +10:00
Oliver
ee47be4c9e Add unit test for 'available_variant_stock' in BomItem API serializer 2022-04-26 17:05:21 +10:00
Oliver
7aaa4a5812 add unit tests for new variant_stock annotations 2022-04-26 16:39:03 +10:00
Oliver
c743ededf4
Merge pull request #2873 from SchrodingersGat/build-auto-allocate-fix
Fix for 'auto-allocate' stock to build orders
2022-04-26 16:24:34 +10:00
Oliver
d4fc4bb8bd Merge branch 'master' into variant-available
# Conflicts:
#	InvenTree/InvenTree/api_version.py
2022-04-26 16:21:53 +10:00
Oliver
85fd247878 Fix for 'auto-allocate' stock to build orders
- Allocation of serialized stock items would cause issue
- Exclude serialized stock from auto allocation process
2022-04-26 15:54:03 +10:00
Oliver
2696f6bfbd
Merge pull request #2869 from SchrodingersGat/ipn-validator-fix
Adds 'variant_of' filter back into Part API
2022-04-26 12:05:30 +10:00
Oliver
70d4960fa3 Add new unit tests for part API filters 2022-04-26 11:43:34 +10:00
Oliver
61a56be114
Merge pull request #2870 from SchrodingersGat/pt-br
pt-br
2022-04-26 11:40:46 +10:00
Oliver
c705bb57c6 Fix language code 2022-04-26 11:16:55 +10:00
Oliver
64b1f56b98 Generate pt_br 2022-04-26 11:09:21 +10:00
Oliver
b5551a1ceb Adds pt_br (brazillian) 2022-04-26 11:05:40 +10:00
Oliver
693e47ab89 Remove outdated filter_fields variable 2022-04-26 11:02:22 +10:00
Oliver
e1e0432963 Adds 'variant_of' filter back into Part API 2022-04-26 10:57:43 +10:00
Matthias
1603bf4e60
fix api call 2022-04-26 01:32:31 +02:00
Matthias
e7357726ca
Add oauth for zapier 2022-04-25 11:19:30 +02:00
Oliver
7ae9586c82
Merge pull request #2864 from matmair/remove-dead-code
Remove dead code
2022-04-25 08:55:21 +10:00
Matthias
65357df648
PEP fix 2022-04-25 00:27:41 +02:00
Matthias
b72650d162
remove translation script 2022-04-25 00:25:31 +02:00
Matthias
b4068c5e0f
remove dead middleware 2022-04-25 00:25:12 +02:00
Oliver
adfcd42e09
Merge pull request #2859 from SchrodingersGat/ipn-validator-fix
IPN validator fix
2022-04-22 15:11:33 +10:00
Oliver
99718865c0 Further attempts to fix CI issues 2022-04-22 14:33:46 +10:00
Oliver
4994920119 Use recommended collation option 2022-04-22 13:48:15 +10:00
Oliver
fa3c24b085 Try a different collation option 2022-04-22 13:25:22 +10:00
Oliver
0806e18aca Case sensitive collation 2022-04-22 12:39:42 +10:00
Oliver
2f1e869351 Only set collation option for mysql test database 2022-04-22 11:31:51 +10:00
Oliver
dc0f18d21f Specify charset and collation options for the test database 2022-04-22 11:20:49 +10:00
Oliver Walters
5fde9f552c Add similar check for IPN 2022-04-22 01:00:38 +10:00
Oliver Walters
292d28d378 Account for cases where serial number could be an integer! 2022-04-22 01:00:02 +10:00
Oliver Walters
aa4df62ac9 IPN fix 2022-04-22 00:40:23 +10:00
Oliver Walters
a7c18891b5 Increase unit testing for duplicate IPN testing
- IPN duplication test is case sensitive!
2022-04-22 00:38:08 +10:00
Oliver Walters
9a9ed5f192 Fix validation of duplicate IPN
- Duplicate IPN check does not apply if an empty IPN value is set
- Note that "if x" is a more pythonic test than "if x not in [None, '']"
2022-04-22 00:36:30 +10:00
Oliver Walters
6dec8ba113 PEP fix 2022-04-22 00:24:25 +10:00
Oliver Walters
f504dfe797 part variant table now displays information about variant stock quantities 2022-04-22 00:20:32 +10:00