Oliver
4a2b6a5674
Formatting fixes
2018-04-30 21:56:46 +10:00
Oliver
37b109b8fc
First pass of automated tracking data
...
- When stock item is moved
- When stocktake is performed
- Yes it is bad - needs improvement!
2018-04-30 21:36:50 +10:00
Oliver
f9138f4997
Item stocktake form
2018-04-30 21:03:25 +10:00
Oliver
d68b51e007
Add ability to move a stock item
2018-04-30 01:00:18 +10:00
Oliver
bee760d184
Deleted extraneous form code
2018-04-30 00:59:36 +10:00
Oliver
f74e176579
JSON api for stock items
2018-04-29 21:02:40 +10:00
Oliver
3403af18c8
Trackable items must have serial number set
2018-04-29 17:06:22 +10:00
Oliver
feb45513f7
Prevent serial number for stock item with quantity > 1
2018-04-29 13:20:02 +10:00
Oliver
8d0789c37c
Implemented tree view
...
Using library bootstrap-treeview
- part category tree
- stock location tree
- Currenly is functional but looks terrible
2018-04-28 23:22:12 +10:00
Oliver
095492203f
Simplified javascript templating
...
- Load js modules in block js_load
- Write $(document).ready script in block js_ready
- Write any other js in block_js
2018-04-28 12:45:12 +10:00
Oliver
7ebb723d15
Revert "Set initial value fields to disabled for some forms"
...
This reverts commit c1271367bd
.
2018-04-28 12:19:50 +10:00
Oliver
c1271367bd
Set initial value fields to disabled for some forms
...
- Prevent user from changing certain fields
- Only when a form is launched from a particular view
2018-04-28 12:14:18 +10:00
Oliver
bc597d7c21
Style fixes
2018-04-28 01:16:47 +10:00
Oliver
1df42b2397
Sanity checking for StockItem
...
- If a SupplierPart is selected, it must point to the same Part type as the Part field!
2018-04-28 00:06:39 +10:00
Oliver
4d6e2aca2c
Modal forms for stock app
2018-04-27 22:59:08 +10:00
28e6d50f08
Check for null StockItem location
2018-04-27 09:33:05 +10:00
Oliver
08ed128bea
PEP style fixes
2018-04-23 21:18:35 +10:00
Oliver
4bedf0ed4c
Finally got migrations working together
2018-04-22 21:54:12 +10:00
Oliver
cef3c664f9
Moving 'supplier' to 'company'
2018-04-19 09:01:25 +10:00
Oliver
3bb434ae98
Migration fix
2018-04-19 09:01:20 +10:00
Oliver
433f670e1c
Removed 'customer' app
2018-04-19 09:01:17 +10:00
Oliver
f1357cfb7c
Adde 'system' Field to StockItemTracking
2018-04-18 08:44:08 +10:00
Oliver
a4621295a6
Fixed spash page for customer index
...
Added 'notes' field to Part object
2018-04-18 01:44:55 +10:00
Oliver
d8d3509b5e
Changes 'notes' fields to be textfield - not charfield
2018-04-18 01:16:30 +10:00
James Newlands
5bb08053e0
Added table of orders and details for each order showing table of lines
2018-04-18 00:38:06 +10:00
Oliver
3f33a921ae
Renamed URLs for /customer/
2018-04-17 23:56:25 +10:00
Oliver
8856d7f793
Renamed 'customer-order' app to 'customer'
...
- This app should manage more than just orders
- Moved the 'Customer' model into this app
2018-04-17 23:39:53 +10:00
Oliver
81afd3a47d
Merge remote-tracking branch 'origin/customer_orders'
2018-04-17 23:18:08 +10:00
Oliver
291992ab7f
Added views and pages for Build model
...
- Edit / create
- View details
- View build index at /build/
2018-04-17 23:13:41 +10:00
James Newlands
45a14b4350
Merge branch 'master' into customer_orders
2018-04-17 23:06:41 +10:00
James Newlands
bc04ca3727
First rough pass at adding customer orders model and some views/templates/admin stuff for same
2018-04-17 23:05:22 +10:00
Oliver
982803a0a7
Updated Part model
...
- Added 'default_location'
- Added 'default_supplier'
2018-04-17 18:23:39 +10:00
Oliver
9dc41ba122
Fix requirements
...
>= rather than ==
2018-04-17 16:58:37 +10:00
Oliver
fa23767150
Added skeleton for 'build' app
2018-04-17 00:32:02 +10:00
Oliver
86b3092b5e
Change action on deleting top-level stock location
2018-04-16 23:29:11 +10:00
Oliver
937470750b
Added helper functions, improved UI
2018-04-16 23:26:02 +10:00
Oliver
a67d5b58db
UI improvements
2018-04-16 23:09:45 +10:00
Oliver
b6b4189c49
UI tweaks
2018-04-16 22:23:29 +10:00
Oliver
202a8e65b9
Added URL field to stock item
2018-04-16 21:07:57 +10:00
Oliver
9191d1ae21
PEP fixes
2018-04-16 20:46:21 +10:00
Oliver
09b357976d
Admin for part tracking
...
- Added 'has_tracking_info' function for StockItem
2018-04-16 20:17:58 +10:00
Oliver
76ee150ca4
Moved tracking information to StockItem
2018-04-16 20:08:04 +10:00
Oliver
a91ff58d84
Flakey
...
Fixing python style errors
2018-04-16 01:02:17 +10:00
Oliver
8e6de1b832
Add pages for part tracking
...
- Edit / Delete / Create tracking info
- Improvements to many pages
2018-04-16 00:30:57 +10:00
Oliver
55b533d3ef
Added edit views for stock
...
- StockItem
- StockLocation
2018-04-15 23:27:56 +10:00
Oliver
9d89db34b2
Improvements to stock page
...
- Fixed URL / view (use class views)
- Better slug lookup
- Better table rendering using ol' mate bootstrap
2018-04-15 20:10:49 +10:00
Oliver
8232baeed7
Improved list and detail views for supplier
...
Huzzah for bootstrap
2018-04-15 13:49:47 +10:00
Oliver
5b5b8f4d12
Fix parent error when deleting category
...
- Any child categories have their parent set to the parent of the deleted category
2018-04-15 11:25:57 +10:00
Oliver
8578c8a1a7
Updated breadcrumbs to use bootstrap
2018-04-14 23:42:24 +10:00
Oliver
204874dcb4
Changed some category views to use boostrap list-group
...
- Looks much fancier!
2018-04-14 23:05:36 +10:00
Oliver
830d33763e
Fix deletion of part category and stock location
...
- Category up part updated to parent
- Location of item updated to parent
2018-04-14 20:33:53 +10:00
Oliver
226828791f
Added migration files to git index
2018-04-14 18:36:06 +10:00
Oliver
6a98846a8f
Added supplier web interface
...
- Display list of suppliers
- Supplier detail page
- Supplier part detail page
- Part detail now includes list of supplier parts
2018-04-14 16:26:26 +10:00
Oliver
ce854e3119
Add 'detail' view for stock item
2018-04-14 15:26:42 +10:00
Oliver
89ee09b01f
Implemented bidirectional traversal for PART and STOCK apps
...
- Added list view for StockItems
2018-04-14 15:13:16 +10:00
Oliver
1da6df0c5e
Separate API views into api.py
...
- Web views are still in views.py
- Files were getting too cluttered and hard to grok
2018-04-14 14:11:46 +10:00
Oliver
bd46f66d6b
Begin to add views for part models
...
- List BOM items
- Show category listing as linked items
- Fix some pathing issues with InvenTreeTree class
2018-04-13 22:36:59 +10:00
Oliver
ed61ebe5b7
Starting to implement BOM management
...
- Each part can be made of other parts
- Disable tracking and project apps for now
- Project will change (eventually) to work order
- Part parameters have been disabled (for now)
2018-04-12 16:27:26 +10:00
Oliver Walters
7478371d0c
Added stockhistory
...
using django-simple-history
2017-04-21 23:47:04 +10:00
Oliver Walters
4777b02080
Added User API and serializer
2017-04-20 22:40:59 +10:00
Oliver Walters
92cbd43f0f
Code cleanup
2017-04-20 22:20:41 +10:00
Oliver Walters
41485e0e0f
Style fix
2017-04-20 22:10:13 +10:00
Oliver Walters
2c28ef6b3c
Added update endpoints for StockItem
...
- Stocktake
- Take-Stock
2017-04-20 22:08:27 +10:00
Oliver Walters
6c7f5fdaf3
Added MinValue validator(s)
2017-04-16 17:05:02 +10:00
Oliver Walters
057fd1dd20
Filtering improvements
2017-04-16 14:24:15 +10:00
Oliver Walters
883efd0945
Removed 'pending' tag
2017-04-16 14:11:20 +10:00
Oliver Walters
a65f85df87
Added StockTracking model
2017-04-16 01:43:30 +10:00
Oliver Walters
d0a66390f5
db unique_together
2017-04-16 01:24:00 +10:00
Oliver Walters
7e1fbf8a04
Style fixes
2017-04-16 01:01:48 +10:00
Oliver Walters
4259c6f9eb
Fixed stock URLs and API docs
2017-04-15 23:14:10 +10:00
Oliver Walters
7d7579d3d6
Style fixes
2017-04-15 00:55:30 +10:00
Oliver Walters
7c5261bc4a
Stock API now hyperlinkd
2017-04-14 23:44:24 +10:00
Oliver Walters
858a7fe089
Tweaking URL patterns
2017-04-14 21:44:01 +10:00
Oliver Walters
e5f6de5d2b
Style fixes
2017-04-14 16:12:54 +10:00
Oliver Walters
f80918554d
Removed old templates
2017-04-14 14:13:00 +10:00
Oliver Walters
f21a05dfa3
Style fixes
2017-04-14 13:31:07 +10:00
Oliver Walters
7fe1c21ebd
Updated Part API
...
- categories can now be filtered by parent
- Added FilterChildren func to invenTree.models
2017-04-14 13:09:24 +10:00
Oliver Walters
c4b7b80e1a
Added stock permissison
2017-04-14 12:58:43 +10:00
Oliver Walters
0441eb4c38
API improvements for Stock app
2017-04-14 12:54:34 +10:00
Oliver Walters
2f3e29ab13
more api fixes
2017-04-14 08:52:25 +10:00
Oliver Walters
f7ba84495b
Fix for stock serializer
2017-04-13 00:31:03 +10:00
Oliver
15582369d2
API for stock app
2017-04-11 18:58:44 +10:00
Oliver
338dcd3b72
Fixing python errors
2017-04-11 17:21:05 +10:00
Oliver Walters
6e0a02a885
Added extra fields to stock item
2017-03-29 23:36:06 +11:00
Oliver Walters
8ba4ea344e
updates
2017-03-29 23:19:53 +11:00
Oliver Walters
b2eca2aa48
Added ETA for part stock
2017-03-29 22:55:36 +11:00
Oliver Walters
68ae1110ad
Updates
...
- Improved some models
- Added PEP check script
2017-03-29 08:37:41 +11:00
Oliver Walters
4912d5507b
peppercord
2017-03-28 23:46:17 +11:00
Oliver Walters
1a875811b7
not a pep
2017-03-28 23:44:32 +11:00
Oliver Walters
433dc7b3e3
Pep goes the weasel
2017-03-28 23:41:05 +11:00
Oliver Walters
7ce5a9a7e5
Papa Pep
2017-03-28 23:38:12 +11:00
Oliver Walters
c111aaf9b2
peps
2017-03-28 23:25:38 +11:00
Oliver Walters
7eb00e8d47
More model updates
2017-03-28 22:45:43 +11:00
Oliver Walters
deda73a50f
Added stock status field
2017-03-28 22:27:46 +11:00
Oliver Walters
5c8cc035a4
Started work on cross-referencing
...
- part admin now shows total quantity in stock
- part model can return a list of projects it is associated with
2017-03-28 21:24:00 +11:00
Oliver Walters
155151e98b
More admin updates
2017-03-28 17:59:28 +11:00
Oliver Walters
8229f02db6
BugFix and docs for InvenTreeTree
2017-03-27 23:08:03 +11:00
Oliver Walters
e98c20048b
Added stock page
2017-03-27 21:05:19 +11:00