Commit Graph

1689 Commits

Author SHA1 Message Date
Oliver Walters
783b8964d1 Add 'slide' for part type 2019-06-18 18:49:52 +10:00
Oliver Walters
b1c1015778 Add bootstrap-toggle 2019-06-18 18:38:03 +10:00
Oliver Walters
c9c851bead Add 'virtual' part flag 2019-06-18 18:34:07 +10:00
Oliver
f114192264
Merge pull request #400 from SchrodingersGat/python-api-doc
Added some docs
2019-06-18 08:39:34 +10:00
Oliver
03cd8a1e15
Merge pull request #399 from SchrodingersGat/tree-speed
Tree speed
2019-06-18 01:50:17 +10:00
Oliver Walters
2768a7cdf3 Added some docs 2019-06-18 01:49:07 +10:00
Oliver Walters
a47be24410 Fixed test cases 2019-06-18 01:38:43 +10:00
Oliver Walters
ea0da4c8f8 PEP 2019-06-18 01:32:29 +10:00
Oliver Walters
79cd05423c Custom aggregation of Part API
- Reduced full part query from 2.5s to 200ms!
2019-06-18 01:31:30 +10:00
Oliver Walters
37dba91b4a Add 'include self' option to getUniqueChildren 2019-06-18 01:02:56 +10:00
Oliver Walters
16b6ae8d61 Fixed up some stupid recursion on the Tree model template 2019-06-18 00:59:54 +10:00
Oliver Walters
642660d76e Improved speed of stock tree 2019-06-18 00:09:42 +10:00
Oliver Walters
a796b984ff Merge branch 'tree-speed' of https://github.com/SchrodingersGat/InvenTree into tree-speed
# Conflicts:
#	InvenTree/InvenTree/views.py
2019-06-17 23:55:21 +10:00
Oliver Walters
037dc6a0d6 Reduced tree time with some better queries 2019-06-17 23:52:49 +10:00
Oliver Walters
b519a1981d Split tree generation off into a separate function 2019-06-17 23:44:36 +10:00
Oliver Walters
1cbbe9e7c6 Split tree generation off into a separate function 2019-06-17 23:39:43 +10:00
Oliver
c6b1a80703
Merge pull request #398 from SchrodingersGat/delete-wip
Delete some unused models
2019-06-17 23:26:21 +10:00
Oliver Walters
7fbc1b71bc Delete some unused models 2019-06-17 23:22:51 +10:00
Oliver
b58982d212
Merge pull request #397 from SchrodingersGat/bug-build
Squashed a bug
2019-06-17 23:17:02 +10:00
Oliver Walters
008a55d3d7 Squashed a bug 2019-06-17 23:02:44 +10:00
Oliver
e347f2ce80
Merge pull request #396 from SchrodingersGat/can-has-tests
Implementing some more unit testing
2019-06-17 22:56:52 +10:00
Oliver Walters
a147a704bf Pepper 2019-06-17 22:45:48 +10:00
Oliver Walters
eb1d534ebd Ignore some more files 2019-06-17 22:45:01 +10:00
Oliver Walters
760d08608f Minor test addition for builds 2019-06-17 22:41:44 +10:00
Oliver Walters
38ef9b2b13 Tests for helper functions 2019-06-17 22:36:17 +10:00
Oliver Walters
08358f6961 Run tests on custom validators 2019-06-17 22:18:00 +10:00
Oliver Walters
b9dc4a0c2f Further tests for order 2019-06-17 22:10:37 +10:00
Oliver Walters
9c29976511 More tests for order module
- Also fixed some bugs along the way!
2019-06-17 21:55:51 +10:00
Oliver Walters
0857ec61fd Add a test fixture for orders 2019-06-17 19:47:16 +10:00
Oliver Walters
78bfc0b6a8 Improve the 'creation date' for order
- Automatically set on first save
2019-06-17 19:44:36 +10:00
Oliver
477ac68aa0
Merge pull request #394 from SchrodingersGat/receive-order
Receive order
2019-06-15 20:08:35 +10:00
Oliver Walters
93667f942f Add button to remove line items from the 'receive' form 2019-06-15 19:47:16 +10:00
Oliver Walters
3405fb93a9 Peppy fixes 2019-06-15 19:42:09 +10:00
Oliver Walters
1290e7f289 Implement POST for receiving items
- Create new StockItem in the correct location
2019-06-15 19:39:57 +10:00
Oliver Walters
c7ca9a3d8f Display table of outstanding line items 2019-06-15 17:29:33 +10:00
Oliver Walters
e28a435c07 Add entry point for order documentation 2019-06-15 17:13:28 +10:00
Oliver Walters
bbd6b15089 Add a VIew for receiving purchase order 2019-06-15 17:09:25 +10:00
Oliver Walters
11d9312c45 Improve rendering of purchase order table 2019-06-15 15:33:10 +10:00
Oliver Walters
0fa8e3809e Limit PO selection to only those which are PENDING 2019-06-15 15:33:03 +10:00
Oliver
26f56c188b
Merge pull request #393 from SchrodingersGat/stock-endpoint
Allow quantity editing via /api/stock/ endpoint
2019-06-13 23:07:27 +10:00
Oliver Walters
ff6df9741f Perform model validation on API serializers
If you have a class, why not subclass it?!
2019-06-13 23:03:58 +10:00
Oliver Walters
222c9f1876 Allow quantity editing via /api/stock/ endpoint
- Allows creation of a new StockItem with a specified quantity
2019-06-13 22:58:02 +10:00
Oliver
51ef46bd80
Merge pull request #389 from SchrodingersGat/order-stuff
Working towards semi-automated part ordering
2019-06-13 22:53:41 +10:00
Oliver Walters
5aac603d63 Satisfying the frog 2019-06-13 22:43:31 +10:00
Oliver Walters
a424a805e4 Bump version string 2019-06-13 22:39:57 +10:00
Oliver Walters
1b06d86f59 Export purchase order to CSV 2019-06-13 22:38:10 +10:00
Oliver Walters
73b9881dc5 Improve table rendering for build allocation view 2019-06-13 22:18:27 +10:00
Oliver Walters
38001b5358 Peppy fixes 2019-06-13 22:16:27 +10:00
Oliver Walters
c9cddd2a19 Add ability to edit and delete a purchase order line item 2019-06-13 22:13:22 +10:00
Oliver Walters
fe5bb23d13 Add notes field to purchase order line item 2019-06-13 21:57:35 +10:00