Commit Graph

2122 Commits

Author SHA1 Message Date
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
Oliver Walters
427f47310b Add detail pane to top-level part view 2019-09-27 10:04:20 +10:00
Oliver Walters
3e2a5263a5 Add stock information for top-level stock page 2019-09-27 09:59:14 +10:00
Oliver
b876d31d09
Merge pull request #561 from SchrodingersGat/translation
Translation
2019-09-26 11:03:05 +10:00
Oliver Walters
30de734dfa Remove test as it is not currently working 2019-09-26 10:55:23 +10:00
Oliver Walters
f2eb66d854 Update readme file and scripts 2019-09-26 10:37:39 +10:00
Oliver Walters
fcba00bc69 Check for altered translation files that have not been compiled 2019-09-26 10:32:44 +10:00
Oliver Walters
b56a1ade24 Make translation compilation a separate step
- Must be run after a translation file is updated
2019-09-26 10:21:14 +10:00
Oliver Walters
fcb47fce09 Make gettext a prerequisite rather than polluting the make file with apt commands that require sudo 2019-09-26 10:16:45 +10:00
Oliver Walters
eaf910d263 Try enforcing sudo 2019-09-26 10:12:10 +10:00
Oliver Walters
9be528a3fb Add (brief) documentation page regarding translations 2019-09-26 10:07:18 +10:00
Oliver Walters
40acf90efe Add some initial (empty) translation files 2019-09-26 09:59:50 +10:00
Oliver Walters
0ae2fd9246 Update migration script to re-compile translation strings 2019-09-26 09:58:50 +10:00
Oliver Walters
37e9bd8d9b Add install requirement for gettext (required package for creating translation files) 2019-09-26 09:57:09 +10:00
Oliver Walters
3cc79d6def Add default language option to config.yaml 2019-09-26 09:56:41 +10:00
Oliver Walters
0e0405f337 Update settings.py to enable translations 2019-09-26 09:55:45 +10:00
Oliver
fb75617807
Update version.py 2019-09-24 08:08:42 +10:00
Oliver
d247ea7589
Merge pull request #557 from SchrodingersGat/save-user-data
Save user data
2019-09-24 08:04:24 +10:00
Oliver Walters
7c1615a2b6 Fix user recording when serializing stock 2019-09-24 07:59:59 +10:00
Oliver Walters
41c07fc423 Save user who created a stock item
- Handled differently for batch or serialized parts
2019-09-24 07:54:18 +10:00
Oliver Walters
52ec213a28 Save user information when creating a new purchase order 2019-09-24 07:43:14 +10:00
Oliver
cc1e580538
Merge pull request #555 from SchrodingersGat/new-loc
PO Features
2019-09-23 19:52:44 +10:00
Oliver Walters
b1380687e6 PEP 2019-09-23 19:31:50 +10:00