Commit Graph

2386 Commits

Author SHA1 Message Date
Oliver Walters
77c950a729 Fixed unit tests 2020-02-11 00:39:02 +11:00
Oliver Walters
dee47bdea8 Prevent django_cleanup from deleting part thumbs that are used elsewhere
- Will need to implement a method for automatically deleting part thumbs...
2020-02-11 00:29:29 +11:00
Oliver Walters
8ea1086b03 Make thumb buttons only visible on mouseover 2020-02-11 00:28:46 +11:00
Oliver Walters
e0e996a6c3 Add buttons to select or upload part images 2020-02-11 00:00:03 +11:00
Oliver Walters
d4fe83170f Select existing image and upload successfully 2020-02-10 23:48:45 +11:00
Oliver Walters
534b60d4b8 Print out MEDIA_ROOT directory if in debug mode 2020-02-10 23:43:41 +11:00
Oliver Walters
725eb3c538 Do not duplicate images when copying a part
- Simply reference the existing image
2020-02-10 23:04:58 +11:00
Oliver Walters
17c10da10e Display existing images in a form 2020-02-10 22:57:36 +11:00
Oliver Walters
a82e219336 Add translatable strings for part views 2020-02-10 22:10:06 +11:00
Oliver Walters
1327c1d3b1 Add API endpoint for querying part images 2020-02-10 22:03:06 +11:00
Oliver
356624a8fb Merge pull request #638 from SchrodingersGat/build-date-fix
Build date fix
2020-02-10 21:42:12 +11:00
Oliver Walters
66c1a2ef57 test fix 2020-02-10 21:36:57 +11:00
Oliver Walters
cb29ff14e0 Change auto_now field to auto_now_add
- Build creation date should no longer get erroneously updated
2020-02-10 21:34:41 +11:00
Oliver
3e977834c5
Merge pull request #637 from SchrodingersGat/serial-fix
Serial fix
2020-02-07 08:42:29 +11:00
Oliver Walters
4bd4f2a0a3 Fix for bug b)
- Don't attempt to save if there are duplicates
- Fix overwritten variable name
- Provide correct return data to the form
2020-02-06 23:22:55 +11:00
Oliver Walters
2949289fab Fix for bug a)
- Would not create new StockItem for trackable part if Serial Numbers not provided
2020-02-06 23:11:47 +11:00
Oliver
0939ffeb76
Merge pull request #633 from SchrodingersGat/inventree-settings
Inventree settings
2020-02-03 21:33:34 +11:00
Oliver Walters
41336bd549 Fixes 2020-02-03 21:28:47 +11:00
Oliver Walters
d059aff4f8 Use the part_deep_copy setting to set the default deep_copy value when duplicating a part 2020-02-03 21:14:06 +11:00
Oliver Walters
9cef038d6a IPN must match regex validator (if one is provided) 2020-02-03 21:09:24 +11:00
Oliver Walters
356b6cf15b Load default settings on InvenTree launch 2020-02-03 20:51:53 +11:00
Oliver
4b8e44bc4a
Merge pull request #632 from SchrodingersGat/database-stats
Database stats
2020-02-02 22:18:32 +11:00
Oliver Walters
ef7fca5633 PEP fixes 2020-02-02 22:15:46 +11:00
Oliver Walters
244d364575 Display some basic stats 2020-02-02 22:13:10 +11:00
Oliver Walters
aa210efad6 Simple skelton for database stats view 2020-02-02 22:03:31 +11:00
Oliver Walters
91ca37c84b Add stats link to navbac
- Also add translation layer for the navbar
2020-02-02 21:51:23 +11:00
Oliver
d62d4c9355
Merge pull request #631 from SchrodingersGat/allow-dupe-names
Allow PartCategory and StocKLocation names to be non-unique
2020-02-02 21:46:07 +11:00
Oliver Walters
d0a7a24649 Add translatable strings 2020-02-02 21:43:10 +11:00
Oliver Walters
5264f816f1 Allow PartCategory and StocKLocation names to be non-unique
- As long as they are unique in the current tree level
2020-02-02 21:40:03 +11:00
Oliver
2a7bf94793
Merge pull request #629 from SchrodingersGat/doc-fix
Fix docs
2020-02-02 21:11:25 +11:00
Oliver
868e005445
Merge pull request #630 from chschlue/updloc
Update German translation
2020-02-02 21:10:33 +11:00
Oliver Walters
d827070585 Fix docs 2020-02-02 18:11:29 +11:00
Christian Schlüter
e379b44606
Update German translation 2020-02-02 08:10:48 +01:00
Oliver
d71fd1aad4
Merge pull request #628 from SchrodingersGat/backup-fix
Slight tweak to makefile
2020-02-02 18:09:41 +11:00
Oliver Walters
38be1fc696 Don't force backup step as part of **make update 2020-02-02 18:05:50 +11:00
Oliver
a022b8223e
Update version.py 2020-02-02 12:46:42 +11:00
Oliver
23c0d68330
Merge pull request #626 from SchrodingersGat/markdown-notes
Markdown notes
2020-02-02 12:45:24 +11:00
Oliver Walters
1a32e441b7 Add //TODO entry in stock tabs 2020-02-02 12:42:35 +11:00
Oliver Walters
20273f1541 Add commit date information to about window 2020-02-02 12:39:35 +11:00
Oliver Walters
f88f5a39f8 Visual fix for allocation tab 2020-02-02 12:16:31 +11:00
Oliver Walters
1bdcbd1974 Markdownify the 'notes' field for StockItem
- New tab interface for the StockItem page
- Display / editing of notes field with markdown
2020-02-02 12:11:18 +11:00
Oliver Walters
908e2ef8bc Add glyphicon for company notes 2020-02-02 11:54:09 +11:00
Oliver Walters
b46151b406 travis fix (hopefully?) 2020-02-02 11:52:22 +11:00
Oliver Walters
0f92468462 Add icon to signify if notes exist 2020-02-02 11:48:43 +11:00
Oliver Walters
7ec194a14a Markdownify the notes field for PurchaseOrder
- Update model field
- Create tab view for PO page
- Add 'notes' tab
2020-02-02 11:44:44 +11:00
Oliver Walters
a7846940c4 Markdownify the notes field for Build model 2020-02-02 00:00:19 +11:00
Oliver Walters
51fab36074 Display / editing for Company notes field
- Also includes some translation updates
2020-02-01 23:45:28 +11:00
Oliver Walters
ca9f9e047c Make company notes field markdownable 2020-02-01 23:31:45 +11:00
Oliver Walters
1f71a93d88 Fix page formatting 2020-02-01 23:26:54 +11:00
Oliver Walters
88ec40e454 Fix success_url for notes form 2020-02-01 22:25:35 +11:00