Commit Graph

1901 Commits

Author SHA1 Message Date
Oliver f0fe7f2d5c Complete refactoring of part sidebar 2021-10-29 00:20:39 +11:00
Oliver 2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
Oliver f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +11:00
Oliver 05d350b6c8 Tweaks for settings pages 2021-10-28 12:38:33 +11:00
Oliver ae2c3e8293 remove "panel-inventree" references 2021-10-28 08:31:36 +11:00
Oliver 8535dd7572 part category and stock location views 2021-10-27 23:53:41 +11:00
Oliver 840187f577 refactor stock item page 2021-10-27 23:35:59 +11:00
Oliver 9d2b4af83f Refactor part display 2021-10-27 23:29:10 +11:00
Oliver e235e5adec Replace "panel-body" with "panel-content" 2021-10-27 23:09:14 +11:00
Oliver 711b3ba923 remove "panel-default" 2021-10-27 23:08:15 +11:00
Oliver fe25ce8cd1 Refactor "manufacturer_part" view 2021-10-27 22:52:11 +11:00
Oliver a004f293ff Replace all instances of data-toggle with data-bs-toggle 2021-10-27 22:06:30 +11:00
Oliver e178a2c370 Refactoring for "stock" pages 2021-10-27 21:50:18 +11:00
Oliver 9df9aaa18f breadcrumbs 2021-10-27 20:17:37 +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
Matthias 7f6f22fb03
move part toggle button
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02: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 9b00ede61a Add part queryset filtering to exclude particular ID values 2021-10-14 17:12:08 +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
Oliver 0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +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 ea4c4c514f Add uniqueness checking for the BomItemSubstitute model 2021-10-13 22:01:32 +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 37bd5c0507 Add serializer and API endpoint for BomItemSubstitute class 2021-10-13 13:58:41 +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 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
Oliver Walters 4eb8c60ee0 Add new BomItemSubstitute model 2021-10-12 22:22:49 +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 19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
SSO!
2021-10-11 17:20:08 +11:00
Oliver 00275d61eb Auto-focus on the 'sub_part' field 2021-10-11 10:25:36 +11:00
Matthias Mair 848a72604e
Merge branch 'inventree:master' into fr-1421-sso 2021-10-08 22:38:16 +02:00
Oliver 07d05ed000 PEP fix 2021-10-08 12:50:24 +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
Matthias fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso 2021-10-07 18:12:25 +02:00
Matthias c37e40d144
use tag for testing 2021-10-07 17:31:18 +02:00
Oliver 22d3b05dc6 Fix error on BOM export 2021-10-07 11:52:41 +11:00
Oliver bc3be635ae Reset modal image when a new image is uploaded 2021-10-06 21:03:40 +11:00
Oliver 95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00