2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00
Commit Graph

9580 Commits

Author SHA1 Message Date
0c60387626 Extract a list of existing substitute parts from the form 2021-10-14 16:50:56 +11:00
05791a8efd Merge pull request #2138 from rocheparadox/master
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
5a6bea3452 improve regex for part name format validation
proper import of validation
2021-10-14 09:35:26 +05:30
ee9e01fc22 removed unused import 2021-10-14 09:26:26 +05:30
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
aa7eb3a6d0 Merge pull request #2154 from SchrodingersGat/filter-bug-fix
Fix table filtering bug
2021-10-14 13:23:00 +11:00
44b4061d7d Fix table filtering bug
- Introduced in recent "BOM substitutes" PR
2021-10-14 11:56:26 +11:00
22572c6f35 Merge pull request #2150 from SchrodingersGat/bom-substitutes
Bom substitutes
2021-10-14 11:24:46 +11:00
4a6bd0123a Bug fixes 2021-10-14 11:00:27 +11:00
2839c9f0eb Update README.md
Adds badge for docker build
2021-10-14 10:34:57 +11:00
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
6012407e93 Merge pull request #2153 from SchrodingersGat/cryptography-version
Tag specific version of cryptography
2021-10-14 09:46:48 +11:00
7d88cbe27e Tag specific version of cryptography 2021-10-14 09:25:00 +11:00
1cbce5dfbf javascript fixes 2021-10-14 09:14:31 +11:00
b2670f3565 Merge pull request #1 from matmair/pr/rocheparadox/2138
fix default setting to not change current behaviour
2021-10-13 22:06:56 +05:30
147d2d4631 fix default setting to not change current behaviour 2021-10-13 17:40:50 +02:00
0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +11:00
936104956e Merge pull request #2151 from SchrodingersGat/locale-fix
Remove locale_stats file
2021-10-14 00:20:32 +11:00
c32b17aa4a Remove locale_stats file 2021-10-13 23:58:19 +11:00
890741ef5d Display badge indicating variant stock can be used 2021-10-13 23:57:50 +11:00
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
c7cec13076 Bug fix 2021-10-13 23:18:44 +11:00
f3074e8f34 Improved unit testing for BomItem
- tests for allowing variant parts
- tests for allowing substitutes
2021-10-13 23:18:26 +11:00
0f8c279aa2 Add some unit testing for the new model 2021-10-13 22:27:10 +11:00
8512c2db75 Reload the parent table when adding or removing substitutes 2021-10-13 22:06:51 +11:00
ea4c4c514f Add uniqueness checking for the BomItemSubstitute model 2021-10-13 22:01:32 +11:00
0e1e8226b1 Add a callback to remove individual rows 2021-10-13 21:42:50 +11:00
8b41e68e6b Launch a dialog displaying the available BOM substitutes 2021-10-13 21:33:41 +11:00
6803f3cf63 Display "substitutes available" icon 2021-10-13 20:36:31 +11:00
0742fb063c comment cleanup 2021-10-13 10:58:36 +05:30
294011a973 Merge remote-tracking branch 'upstream/master' 2021-10-13 10:10:59 +05:30
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
51efd6b2e4 Add permissions for new mdoel 2021-10-13 14:06:36 +11:00
37bd5c0507 Add serializer and API endpoint for BomItemSubstitute class 2021-10-13 13:58:41 +11:00
f3f41730be Add "substitutes" column to BOM table 2021-10-13 11:58:40 +11:00
324ccd805d Include BomItem substitutes in the serializer 2021-10-13 11:07:44 +11:00
7c396f9f39 Enable optional pagination for the BomItem API endpoint 2021-10-13 11:07:34 +11:00
a00dc9b0b1 Add migration file for new database model 2021-10-13 10:50:24 +11:00
e20ddc289e Merge branch 'master' into bom-substitutes 2021-10-13 10:15:03 +11:00
384d268534 Merge pull request #2145 from SchrodingersGat/revert-1fb76b9
Revert 1fb76b9
2021-10-13 09:55:21 +11:00
4f985ae225 Revert 1fb76b9
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
5f159e5f02 Merge remote-tracking branch 'upstream/master' 2021-10-12 20:07:14 +05:30
a01918d4b9 removed blank line at the end of file 2021-10-12 19:54:09 +05:30
4fddc656c4 removed unused import
added unit tests for PART_NAME_FORMAT
2021-10-12 19:51:21 +05:30
77324c496c Merge pull request #2144 from SchrodingersGat/docker-fix
Updates for building cryptography lib
2021-10-13 01:13:29 +11:00
1832a6f1fa Run APK upgrade
Ref:
2021-10-13 00:53:41 +11:00
c3e0c9378f Upgrade pip as part of dockerfile 2021-10-13 00:52:48 +11:00
ac242c01c1 Updates for building cryptography lib 2021-10-13 00:46:46 +11:00
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
f4239fbfd3 Merge remote-tracking branch 'upstream/master' 2021-10-12 18:54:51 +05:30