Commit Graph
100 Commits
Author SHA1 Message Date
OliverandGitHub 9176792fa0 Merge pull request #410 from SchrodingersGat/set-category
Set category
2019-06-25 19:25:10 +10:00
Oliver Walters cbfb6bd24c no message 2019-06-25 19:16:24 +10:00
Oliver Walters d6fcf85cd2 Set part category for multiple parts at once 2019-06-25 19:15:39 +10:00
OliverandGitHub ea44f28bc7 Merge pull request #409 from SchrodingersGat/info-endpoint
Add a simple endpoint with server information
2019-06-25 00:41:01 +10:00
Oliver Walters 566b6a43da Add a simple endpoint with server information 2019-06-25 00:18:00 +10:00
OliverandGitHub a1daea77e1 Merge pull request #408 from SchrodingersGat/token-auth
Remove a debug message
2019-06-24 00:30:47 +10:00
Oliver Walters d70140e256 Remove a debug message 2019-06-24 00:20:22 +10:00
OliverandGitHub 1e661f3884 Merge pull request #407 from SchrodingersGat/token-auth
Token auth
2019-06-24 00:18:56 +10:00
Oliver Walters 071695bfe1 Moar tabs plz 2019-06-24 00:12:31 +10:00
Oliver Walters 5567339e7a no message 2019-06-24 00:06:41 +10:00
Oliver Walters faf2fd408f PEP fix 2019-06-24 00:01:34 +10:00
Oliver Walters 881adb9487 Add API endpoint for user to request auth token 2019-06-23 23:47:06 +10:00
Oliver Walters e91eac0c66 Include PK in user serializer 2019-06-23 22:44:57 +10:00
OliverandGitHub cb41236738 Merge pull request #406 from SchrodingersGat/yet-more-buttons
Yet more buttons
2019-06-20 21:49:02 +10:00
Oliver Walters a5306ec81b Add 'revision' field to part
- e.g. different versions of a product
- Can keep old versions in database and mark as inactive
2019-06-20 21:46:16 +10:00
Oliver Walters 8328e7e13c Improve uniqueness checking for Part 2019-06-20 21:37:25 +10:00
Oliver Walters b71d5b474a Fix BOM edit bug 2019-06-20 21:31:23 +10:00
Oliver Walters d5119e1aff Replace some cog icons 2019-06-20 21:28:00 +10:00
OliverandGitHub 7a2dbce282 Merge pull request #405 from SchrodingersGat/yet-more-buttons
Yet more buttons
2019-06-19 19:40:31 +10:00
Oliver Walters 5ab3c386bb Buttons for purchase order table 2019-06-19 19:09:31 +10:00
Oliver Walters d07d815cb2 Buttons for BOM editing table 2019-06-19 19:07:18 +10:00
Oliver Walters 6e1b7bf3f0 Fix buttons in attachment table 2019-06-19 19:05:18 +10:00
Oliver Walters d837a1f9a2 Buttonize the part category page 2019-06-19 18:54:32 +10:00
Oliver Walters 1fc39d56df Add 'new stock location' button to top-level locatino 2019-06-19 18:50:05 +10:00
Oliver Walters fefbcf2ed9 Clean up buttons for stock location 2019-06-19 18:49:05 +10:00
OliverandGitHub 21479e39d9 Merge pull request #404 from SchrodingersGat/stock-item-buttons
Added pretty buttons to stock item page
2019-06-19 08:11:51 +10:00
Oliver Walters 05a5ab222d Some more changes 2019-06-19 08:09:05 +10:00
Oliver Walters 776ca7db12 Visual style for build 2019-06-19 08:03:39 +10:00
Oliver Walters afcbd73026 Consolidate visual style for "Part" tabs 2019-06-19 07:58:14 +10:00
Oliver Walters 3e6cdb15be Clean up display of company pages
- Add some more buttons
- visual style consolidation
2019-06-19 07:48:05 +10:00
Oliver Walters 7effe3af9d Add buttons to company page 2019-06-19 00:01:30 +10:00
Oliver Walters c0e66dd9a0 Added pretty buttons to stock item page 2019-06-18 23:56:00 +10:00
OliverandGitHub b4833fbb7d Merge pull request #402 from SchrodingersGat/buttons
Buttons
2019-06-18 23:26:13 +10:00
Oliver Walters fe4bc15c8e Improved button layout for purchase order page 2019-06-18 23:18:48 +10:00
Oliver Walters 3dddb10f5d Pretty toggle buttons in modal forms 2019-06-18 23:12:13 +10:00
Oliver Walters 0285d3ee83 Improved button mechanics 2019-06-18 22:54:32 +10:00
Oliver Walters 8842d50c72 Replace a whole bunch o' drop-down options with pretty buttons 2019-06-18 22:49:43 +10:00
OliverandGitHub 8bc60f5339 Merge pull request #401 from SchrodingersGat/virtual-parts
Visual Niceness
2019-06-18 22:26:28 +10:00
Oliver Walters ee5722857f Re-add 'new stock item' button 2019-06-18 22:13:54 +10:00
Oliver Walters 3349d0c0df Remove part 'type' fields from form
These are now presented as virtual buttons
2019-06-18 21:43:51 +10:00
Oliver Walters 1d67b4cdaa Sliders now update the part options via AJAX 2019-06-18 19:24:10 +10:00
Oliver Walters 65a8a30f87 Many improves of the slidies 2019-06-18 19:05:09 +10:00
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
OliverandGitHub f114192264 Merge pull request #400 from SchrodingersGat/python-api-doc
Added some docs
2019-06-18 08:39:34 +10:00
OliverandGitHub 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
OliverandGitHub 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
OliverandGitHub 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
OliverandGitHub 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
OliverandGitHub 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
OliverandGitHub 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
OliverandGitHub 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
Oliver Walters d860336060 Add some pretty buttons to the purchase order detail table 2019-06-13 21:44:09 +10:00
Oliver Walters a37a2120fa Add some context data to build views 2019-06-13 21:32:37 +10:00
Oliver Walters 2b74a0ed2c Don't show zero-quantity items when ordering against a build 2019-06-13 21:28:01 +10:00
Oliver Walters 771a008e84 Printable string for PurchaseOrderLineItem 2019-06-13 21:21:22 +10:00
Oliver Walters 52b7051060 Automatically add line items to an order 2019-06-13 21:17:06 +10:00
Oliver Walters f52aa0af21 Create a new purchase order directly from the "Order Parts" form wizard 2019-06-13 20:42:09 +10:00
Oliver Walters 915395e676 Create a new supplier part directly from the order form 2019-06-13 20:35:15 +10:00
Oliver Walters 4be82a31ce Remove rows from order form 2019-06-13 20:26:53 +10:00