2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00
Commit Graph

1982 Commits

Author SHA1 Message Date
05791a8efd Merge pull request #2138 from rocheparadox/master
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +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
ea4c4c514f Add uniqueness checking for the BomItemSubstitute model 2021-10-13 22:01:32 +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
37bd5c0507 Add serializer and API endpoint for BomItemSubstitute class 2021-10-13 13:58:41 +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
4f985ae225 Revert 1fb76b9
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
4fddc656c4 removed unused import
added unit tests for PART_NAME_FORMAT
2021-10-12 19:51:21 +05:30
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
4eb8c60ee0 Add new BomItemSubstitute model 2021-10-12 22:22:49 +11:00
beadfb4659 Merge remote-tracking branch 'upstream/master' 2021-10-11 22:29:01 +05:30
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
19a8c712d4 Merge pull request #2017 from matmair/fr-1421-sso
SSO!
2021-10-11 17:20:08 +11:00
00275d61eb Auto-focus on the 'sub_part' field 2021-10-11 10:25:36 +11:00
848a72604e Merge branch 'inventree:master' into fr-1421-sso 2021-10-08 22:38:16 +02:00
07d05ed000 PEP fix 2021-10-08 12:50:24 +11:00
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
fe7ab40b48 Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso 2021-10-07 18:12:25 +02:00
c37e40d144 use tag for testing 2021-10-07 17:31:18 +02:00
22d3b05dc6 Fix error on BOM export 2021-10-07 11:52:41 +11:00
bc3be635ae Reset modal image when a new image is uploaded 2021-10-06 21:03:40 +11:00
95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00
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
e7d78db87b Fixes for unit tests 2021-10-05 10:53:11 +11:00
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
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
75a35773c6 More unit tests 2021-10-04 20:44:15 +11:00
480ff5e6cb Hide submit button in modal when part is still active 2021-09-30 09:58:23 -04:00
1e9ae927d4 Show part delete button when part still active 2021-09-29 11:48:27 -04:00
e7963f8a85 test fixes 2021-09-17 21:06:07 +10:00
11cc0c7ced Adds a test for non-standard characters via API 2021-09-17 20:53:18 +10:00
5bd5c61b9d Fix callback for test template table 2021-09-14 10:43:40 +10:00
06c03039da Add version related tags
- Docs URL points to correct documentation version
- Display if we are in "development" version
2021-09-12 23:13:55 +10:00
9b001cd298 Another fix 2021-09-04 08:48:34 +10:00
0ebc45e834 replace i html tags 2021-09-02 00:18:47 +02:00
6a420fd95c replace bold tags 2021-09-02 00:17:12 +02:00
2b1279e647 now with closing tags 2021-09-01 08:14:08 +02:00
5ad2eabab1 fix html templates 2021-08-31 13:17:38 +02:00
ec88415f3d Add "units" to PartBriefSerializer 2021-08-26 21:54:25 +10:00
7646535aaf Hide "Sales Orders" tab if part is not salable 2021-08-24 11:48:42 +10:00
35738ce026 Updated all 'add' buttons to 'btn-success' CSS class 2021-08-23 14:52:35 -04:00