e174096173
Adds ability to search build API by part parameters ( #3110 )
...
* Adds ability to filter build API by part parameters
* Bump API version
2022-06-01 16:52:43 +10:00
a129c650fe
Remove unique-together requirement for BomItem model ( #3104 )
...
* Remove unique-together requirement for BomItem model
Ref: https://github.com/inventree/InvenTree/issues/1254
* Update unit test
* Remove unused import
2022-05-31 13:33:23 +10:00
643df4761d
Enable 'tree view' for build order table ( #3070 )
...
* Enable 'tree view' for build order table
* Ensure we pass locale code to the build table
* Adjust button class based on current context
* Fix display of 'child builds' table on build page
* Force a rebuild of the entire table when the filters are refreshed
* Refactor PurchaseOrder table also
* Refactor existing SalesOrder table also
* JS linting
2022-05-26 15:41:53 +10:00
2d1776a151
Refactor 'DeleteManufacturerPart' form ( #3067 )
...
* Refactor 'DeleteManufacturerPart' form
- Remove duplicated forms
- Update style to match other forms
- Block on each deletion before progressing to the next one
* PEP fix
* Adds deleteSupplierParts function
* Refactor all instances of supplier part deletion
* Refactor tractor : use convenience function for bootstraptable.getSelections
* Add deleter for manufacturerpartparameter.
Refactor existing code into a single function
* Refactor deletion for stock items
* JS linting
2022-05-25 23:35:53 +10:00
5805685c48
Merge branch 'master' of https://github.com/inventree/InvenTree into style-fixes
2022-05-21 23:57:41 +02:00
9af0b981e7
fix class to enable userlogin
2022-05-20 19:14:35 +02:00
74726f0fda
fix endline
2022-05-20 13:35:07 +02:00
93b6934127
fix trailing
2022-05-20 13:20:55 +02:00
9f922f06ff
fix more imports
2022-05-20 12:53:04 +02:00
e8287f02d4
rename
2022-05-20 12:33:51 +02:00
42d325e7ca
fix spelling
2022-05-20 12:33:28 +02:00
0d5dea3e6d
refactor test setup
2022-05-20 12:12:32 +02:00
c5b14944a1
Unit tests for downloading BuildOrder data
2022-05-18 00:31:43 +10:00
9bcbaaa5f5
Remove more python2 stuff
2022-05-17 16:57:31 +10:00
e7b458978c
More unit tests
2022-05-17 15:10:48 +10:00
01a30935f0
Add unit tests for BuildOutputDelete serializer
2022-05-17 14:20:41 +10:00
5a0acedce6
Add unit tests for BuildOutputCreate serializer
2022-05-17 13:00:53 +10:00
256451d82b
Fix context such that build output can be deleted
2022-05-17 11:52:42 +10:00
cce3d3a35d
make imports on function level
2022-05-16 18:01:16 +02:00
2df049fe05
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue3005
2022-05-16 17:48:01 +02:00
0f5c03e44c
use direct import instead of text for offload
2022-05-16 17:45:51 +02:00
c51f052f25
Merge pull request #3011 from matmair/matmair/issue2996
...
Remove python 2 code
2022-05-17 00:51:31 +10:00
ecccfbd546
Remove encoding header
...
Fixes #2996
2022-05-15 20:33:00 +02:00
136d642703
Merge branch 'fix-boolean' of https://github.com/matmair/InvenTree into fix-boolean
2022-05-15 17:52:34 +02:00
77aeecf23a
make operators simpler
2022-05-15 17:52:23 +02:00
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