2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00
Commit Graph

651 Commits

Author SHA1 Message Date
8edc0cc893 PEP fixes 2022-05-12 12:47:25 +10:00
c89547f58c Adds exporter and download functionality for BuildOrder table 2022-05-12 12:44:15 +10:00
e57a3870c6 Fix build index template 2022-05-07 22:47:48 +10:00
06e79ee91b Move view mixin to plugin.views 2022-05-07 22:34:03 +10:00
60f799c90a Add plugin view support for most of the remaining views 2022-05-06 23:32:42 +10:00
243e3ff37d Fix calls to super() 2022-05-06 23:32:09 +10:00
82541ede32 More unit tests
- BuildOrderCancel
- StockItemInstall
- StockItemUninstall
2022-05-04 22:49:21 +10:00
88dbd5aa74 PEP fixes 2022-05-04 18:46:07 +10:00
104f9d4a70 Remove outdated unit tests 2022-05-04 18:39:33 +10:00
7365f7b5cb Paint the icon red 2022-05-04 17:33:19 +10:00
1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
bd3d6f47a1 Refactor CancelBuild form 2022-05-04 16:30:46 +10:00
768e23c7b8 Refactor BuildOrder API classes with a fancy mixin 2022-05-04 15:59:30 +10:00
75e24635b5 Fix speling errors in translated strings 2022-05-04 09:17:42 +10:00
28f3244574 Order parts from "supplier parts" page
- Prevent duplicate parts from loading
2022-05-03 16:52:23 +10:00
de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
67ab45bdee update depreciated paths 2022-05-01 22:00:18 +02:00
d05472b30c upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
eabe082f0a Add unit tests for boolean user settings (via the API) 2022-05-01 20:23:50 +10:00
94fa424440 Table tweaks 2022-04-29 13:13:12 +10:00
8fc34a21a6 Reload the untracked stock table when allocation actions are performed 2022-04-29 12:59:20 +10:00
0bda9c974e PEP fixes 2022-04-29 01:35:09 +10:00
6b4592b3dc Display error if stock item is "double allocted" 2022-04-29 01:10:05 +10:00
6e52ca2178 Refactor button callbacks
- Add button to expand all output rows
- Add button to collapse all output rows
2022-04-29 00:44:29 +10:00
cb7c4396fb Refactor build page template
- Only load build outputs table as required
2022-04-28 22:59:24 +10:00
b63352ce20 Add a stock item transaction when installing items into a build output 2022-04-28 22:58:58 +10:00
f531e354b9 Allow completion of partially allocated build outputs
- Requires manual acceptance from user
2022-04-28 21:54:38 +10:00
0841c628e0 Adds ability to filter build items by "tracked" flag 2022-04-28 17:27:09 +10:00
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
c7257a1bd3 build order 2022-04-10 20:03:40 +10:00
6bd5e652ee Fix translation on delete_build form 2022-03-31 15:23:26 +02:00
f24aa37f8f Allow labels to be printed from the "incomplete build output" table 2022-03-24 16:34:47 +11:00
4caf73e0e3 Change sidebar text to be consistent 2022-03-09 16:19:52 +11:00
4cd41bd0a3 Display "loading" until allocations loaded 2022-03-09 15:23:23 +11:00
4191a043b2 Add "exclude_location" to build order auto-allocation 2022-03-09 14:57:57 +11:00
fe8ea5568f Bug fix for build order panel loading 2022-03-09 13:58:48 +11:00
9f8f900e17 Wrap server queries in onPanelLoad calls, to reduce initial page load time 2022-03-09 13:14:04 +11:00
7986e0752d Bug fix: Allocation quantity for "auto allocate" of tracked parts must be 1 2022-03-09 13:03:38 +11:00
70c9c9473d Unit test fixes 2022-03-04 17:27:07 +11:00
0bb0047fcd Add unit tests for the auto_allocate_stock method 2022-03-04 16:27:50 +11:00
71cd6c93d1 Assign sorting priority when allocating parts to a build order
1. Direct match parts
2. Variant parts
3. Any other parts (e.g. substitute parts)
2022-03-04 16:02:50 +11:00
434f563a41 Adds API endpoint for "auto allocating" stock items against a build order.
- If stock exists in multiple locations, and the user "does not care" where to take from, simply iterate through and take
2022-03-04 15:26:00 +11:00
28a7ad7f0e Bug fix for BuildOrder.bom_items
- Now uses the query generator provided by the Part model
- No more code duplication
- More importantly, no more code duplication which is WRONG!
2022-03-01 23:53:33 +11:00
b00ae67d68 Pass dates in templates through the new template tag 2022-02-28 19:10:33 +11:00
baab955756 Further fixes for unit tests 2022-02-25 17:17:34 +11:00
d9e1302eaf Fixes for unit testing 2022-02-25 16:42:35 +11:00
fea6091e42 Fix incorrect inputs 2022-02-25 15:57:30 +11:00
9e3406efc9 Add stock tracking code to indicate stock has been consumed by a build order 2022-02-25 15:56:09 +11:00
bb164ed72a Remove old unused functions 2022-02-25 15:47:07 +11:00
3dde0dbb2b PEP fixes 2022-02-25 15:43:45 +11:00