Commit Graph

2294 Commits

Author SHA1 Message Date
Oliver Walters
f648433e53 Add documentation for creating a virtual environment 2019-12-05 22:56:20 +11:00
Oliver
bd2a2b5b26
Merge pull request #587 from inventree/dependabot/pip/pillow-6.2.0
Bump pillow from 5.0.0 to 6.2.0
2019-12-05 14:44:51 +11:00
Oliver
9946fbda17
Merge pull request #585 from SchrodingersGat/tweaks
Reload page after ordering parts
2019-12-05 14:28:34 +11:00
dependabot[bot]
bacdb7776b
Bump pillow from 5.0.0 to 6.2.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 5.0.0 to 6.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/5.0.0...6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-05 03:19:21 +00:00
Oliver
6afb657acb
Merge pull request #586 from SchrodingersGat/po-tweaks
Po tweaks
2019-12-05 14:18:55 +11:00
Oliver Walters
98374ca466 Update to more recent libraries
- Specify exact module versions
2019-12-05 14:12:05 +11:00
Oliver Walters
173e1311d4 Hard code PIP requirements 2019-12-05 10:29:33 +11:00
Oliver Walters
2152cb14b4 Add translation files 2019-12-05 10:29:23 +11:00
Oliver Walters
7f2804dff3 Add button to mark a purchase order as complete, even if not all line items are received 2019-12-05 10:29:16 +11:00
Oliver Walters
3f172cb065 Add 'new location' button when receiving parts by individual line 2019-12-05 09:12:37 +11:00
Oliver Walters
cbdea9f18c Reload page after ordering parts 2019-11-29 20:37:34 +11:00
Oliver
4b599b7cdb
Merge pull request #580 from SchrodingersGat/decimal-quantity
Decimal quantity
2019-11-19 21:46:51 +11:00
Oliver Walters
7e6c5fae62 Display units in part table 2019-11-19 10:39:40 +11:00
Oliver Walters
8b2f1b9313 Better rendering of aggregated stock count in stock table
https://stackoverflow.com/questions/11832914/round-to-at-most-2-decimal-places-only-if-necessary#12830454
2019-11-19 10:36:01 +11:00
Oliver Walters
64db28be67 Fix __str__ function to get unit tests to pass 2019-11-19 10:31:49 +11:00
Oliver Walters
381becef79 Convert some more fields to decimal
- purchase order line item quantity
- purchase order line item received
2019-11-19 10:30:04 +11:00
Oliver Walters
a1f33c4084 Change build allocation quantity to decimal field 2019-11-19 10:22:46 +11:00
Oliver Walters
dbdbe69f7f Bug fix for test cases 2019-11-19 10:19:52 +11:00
Oliver Walters
9da8189899 Allow non-integer stock movement 2019-11-19 10:17:20 +11:00
Oliver Walters
e4bfe43c04 More rendering improvements 2019-11-19 10:10:23 +11:00
Oliver Walters
003a2d9f3c Allow creation of stockitem with non-integer quantity
-  Also provided more translation strings
2019-11-19 10:00:08 +11:00
Oliver Walters
0ea8ade26c Better rendering for build allocation page
- Added translations too
2019-11-19 09:51:35 +11:00
Oliver Walters
75774771dc Changes to StockItem model
- Stock adjustments need to accept decimal values
2019-11-19 09:18:41 +11:00
Oliver Walters
20755a6dac Rendering of decimal value on stockitem page 2019-11-19 09:10:47 +11:00
Oliver Walters
4e1b9efe93 Fix javascript rendering of decimal quantity in BOM table 2019-11-19 09:08:17 +11:00
Oliver Walters
6e90ac367e Massaging unit tests
- Decimal fields are useful but VERY ANNOYING to use
- Needed to fix some test cases
2019-11-19 08:59:56 +11:00
Oliver Walters
400941c10f Change item quantity field from PositiveInteger to Decimal
- Allow 'partial' quantity e.g. '0.45kg'
- Need to change some maths functions as Decimal type is pernickity
2019-11-19 08:49:54 +11:00
Oliver Walters
81a226c760 Added translation strings for stock.models 2019-11-19 08:46:25 +11:00
Oliver Walters
5ffbfe8eb8 Add translation strings for part models 2019-11-19 08:42:10 +11:00
Oliver
39f9aa6141
Merge pull request #579 from SchrodingersGat/multi-stock-delete
Multi stock delete
2019-11-16 20:44:45 +11:00
Oliver Walters
16f3dfb678 Removed old migration file 2019-11-16 20:39:10 +11:00
Oliver Walters
b7473be8ef Update stock adjustment dialog 2019-11-16 20:29:05 +11:00
Oliver Walters
2261973331 Ability to delete multiple stock items 2019-11-16 20:19:10 +11:00
Oliver Walters
789515e39d Add translations for the StockItem detail page 2019-11-16 20:14:08 +11:00
Oliver Walters
0effb584b9 Remove 'active' field
- Will work this change in at a later date
2019-11-16 20:13:51 +11:00
Oliver Walters
339126b27a Add new field "active" to StockItem model
- True by default
- Set to 'false' to mark a stockitem as 'deleted'
2019-11-16 19:41:36 +11:00
Oliver Walters
56255a98d8 Add a menu item to delete multiple stock items 2019-11-16 19:28:47 +11:00
Oliver
d66c20ca94
Merge pull request #576 from SchrodingersGat/req-fix
Lock specific version of coverage
2019-11-05 20:56:26 +11:00
Oliver Walters
ce6f54aeaa Lock specific version of coverage 2019-11-05 20:23:15 +11:00
Oliver
b92b7dc825
Merge pull request #575 from SchrodingersGat/stock-table-notes-fix
Properly display 'notes' field in grouped rows for stock table
2019-11-05 11:13:17 +11:00
Oliver Walters
1887463f7f Properly display 'notes' field in grouped rows for stock table 2019-11-04 21:55:48 +11:00
Oliver
54855da522
Merge pull request #565 from SchrodingersGat/supplier-part-delete
Single form to delete single or multiple SupplierPart objects
2019-09-30 13:48:10 +10:00
Oliver Walters
d1c7877713 Add unit test for CompanyIndex 2019-09-30 13:44:19 +10:00
Oliver Walters
be96a2f7e3 Add some unit tests 2019-09-30 13:39:56 +10:00
Oliver Walters
871b853b9f Single form to delete single or multiple SupplierPart objects 2019-09-30 13:28:51 +10:00
Oliver
f49130862e
Merge pull request #564 from SchrodingersGat/secondary-fix
Bug fix - secondary modals not working correctly
2019-09-27 21:07:32 +10:00
Oliver Walters
ab25a199ce Bug fix - secondary modals not working correctly 2019-09-27 21:00:27 +10:00
Oliver
bed2cec5e7
Merge pull request #562 from SchrodingersGat/stock-top-detail
Stock top detail
2019-09-27 10:18:50 +10:00
Oliver Walters
b870728125 Add translation hooks for part detail template 2019-09-27 10:12:46 +10:00
Oliver Walters
225ad0ffa6 Add note in contribution file regarding translations 2019-09-27 10:07:34 +10:00