Commit Graph

3117 Commits

Author SHA1 Message Date
Oliver
55b533d3ef Added edit views for stock
- StockItem
- StockLocation
2018-04-15 23:27:56 +10:00
Oliver
3c844fc77f Redirect some links 2018-04-15 21:47:20 +10:00
Oliver
5861296974 Add view for BomItem model
- Create BOM item (auto-add to a parent part)
- Edit / delete
- View details
2018-04-15 21:29:24 +10:00
James Newlands
24f3e8579c Merge branch 'master' of https://github.com/inventree/InvenTree 2018-04-15 20:24:55 +10:00
James Newlands
eaf1076009 Ignore PyCharm project files 2018-04-15 20:24:18 +10:00
Oliver
0632609a80 Remove weird line in Inventree/urls.py 2018-04-15 20:14:53 +10:00
Oliver
99bb51c76d Migrations 2018-04-15 20:11:27 +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
ab4b91cd46 Added pages for /supplier/
- Supplier list view
- Supplier detail view /supplier/<pk>/
- Added create / edit / delete views for supplier
- Supplier part detail at /supplier/part/<pk>
- Added create / edit / delete views for supplier part
- Added some templates to make things easier
2018-04-15 15:35:01 +10:00
Oliver
8232baeed7 Improved list and detail views for supplier
Huzzah for bootstrap
2018-04-15 13:49:47 +10:00
Oliver
9e6c7350f9 Skeleton for part tracking
- Added  list and detail view
- Fixed some links
2018-04-15 12:35:56 +10:00
Oliver
9f42085731 Add list page for tracking info
- Needs filtering (currently displays ALL unique parts)
2018-04-15 12:07:14 +10:00
Oliver
cb5e2f1a8c Danger button fix 2018-04-15 11:41:27 +10:00
Oliver
17b9f4ec8c Added pages for editing categories
- category-detail
- category-delete
- category-edit
- category-new
2018-04-15 11:40:03 +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
2c2db4fffb Added "new part" feature
- Create a new part
- Button provided on the "category" list page
2018-04-15 10:08:44 +10:00
Oliver
ff2082b156 Fixes for bootstrap
- Now using bootstrap3 which seems to work better
- Had to make changes to navbar and part image preview
2018-04-15 09:38:59 +10:00
Oliver
54e78bf468 Ability to delete part
- Provides confirmation form
- Shows the flow-on effects (model.CASCADE) from deleting this part
- Bootstrap makes it prettyful
2018-04-15 09:08:35 +10:00
Oliver
21e3f415c6 Added ability to edit parts
- installed django_crispy_forms
- added EditPartForm in part/forms.py
- Vastly simplified parts views by using class views 
  (need to do this for the other apps too!)
2018-04-15 01:18:12 +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
0e2c5e6af5 Add tabs to part detail view
- Currently each "tab" reloads the entire page but with the new tab selected
- We could use bootstrap js to do this without reloading (load ALL part data)
2018-04-14 22:10:19 +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
0550dad2d4 Added ability to attach file(s) to a part object
- Not yet fully working!
2018-04-14 18:44:56 +10:00
Oliver
226828791f Added migration files to git index 2018-04-14 18:36:06 +10:00
Oliver
a31ec388f4 Added static files directory
- Improved display of part image
2018-04-14 18:22:31 +10:00
Oliver
72b44e15f4 Added image field to part
- Images are automatically renamed upon upload
- Part page displays img
2018-04-14 17:44:22 +10:00
Oliver
bc7e29aeb4 Update navbar with category links
- Part
- Stock
- Supplier
2018-04-14 16:32:41 +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
e30a089c76 Move BomItem into the Part app
- Does not make sense to keep these separate
- Removed bom app entirely
2018-04-14 14:19:03 +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
63f7fe640c Added 'part tracking' page
- e.g. /part/<pk>/track
2018-04-14 00:46:18 +10:00
Oliver
eec725d90f A good start on web interface
- Added details for "part" app
- Added BOM page for each part
- Added Stock page for each part
- Bootstrap! CSS!
2018-04-14 00:08:30 +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
77fe0dc542 Remove requirement for unique IPN
- Blank IPN values did not count as 'unique'
2018-04-12 19:14:07 +10:00
Oliver
3fcd5f08e6 Merge remote-tracking branch 'origin/master' 2018-04-12 19:13:32 +10:00
Oliver
b6043218f7
Update README.md 2018-04-12 19:09:18 +10:00
Oliver
0d2e25c8c1
Update makefile
- Comment out project and track apps, currently disabled
2018-04-12 18:57:25 +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
47e99d5f35 Merge pull request #47 from SchrodingersGat/master
Added logo
2017-04-28 09:05:51 +10:00
Oliver Walters
4ff647f0c9 Added logo 2017-04-28 09:05:01 +10:00
Oliver
d8b83a5813 Merge pull request #46 from SchrodingersGat/master
Added StockItem history
2017-04-21 23:47:52 +10:00
Oliver Walters
7478371d0c Added stockhistory
using django-simple-history
2017-04-21 23:47:04 +10:00
Oliver Walters
81a42c1dff Merge remote-tracking branch 'upstream/master' 2017-04-20 23:01:18 +10:00
Oliver
2666d7961b Merge pull request #45 from SchrodingersGat/master
Added Users API
2017-04-20 22:55:01 +10:00
Oliver Walters
76b086aab8 Style fixes 2017-04-20 22:53:28 +10:00
Oliver Walters
db45e3625f Category validation errors 2017-04-20 22:45:18 +10:00
Oliver Walters
4777b02080 Added User API and serializer 2017-04-20 22:40:59 +10:00