Oliver Walters
2cf40c0e0b
Translation updates
2020-09-05 23:32:36 +10:00
Oliver Walters
b89588ffb7
variant of link links to variants page
2020-09-03 00:00:03 +10:00
Oliver Walters
303572bc03
More translation updates
2020-09-02 23:57:51 +10:00
Oliver Walters
eaec85398f
Treegrid display for part variants
2020-09-02 23:51:28 +10:00
Oliver Walters
74f25ee7f9
Part: Extend logic for "latest" serial number
...
- Return value if it is a string
- Remove 'getNextSerialNumber' function
- Improve functionality of function which returns serial number placeholder string
2020-09-01 20:16:46 +10:00
Oliver
90d2265dae
Merge pull request #945 from SchrodingersGat/template-attachments
...
Part: add function to get part attachments for *all* parents of a part
2020-08-31 22:38:02 +10:00
Oliver Walters
cd8214ff4a
Part: add function to get part attachments for *all* parents of a part
2020-08-31 22:26:46 +10:00
Oliver Walters
672936e2d4
Update many tables
2020-08-31 21:55:01 +10:00
Oliver Walters
146dae6d43
Toot toot - it's the refactor tractor!
...
- New function for launching a CreateStockItem form
- Wraps up the previous code improvements into a single function
- Oh, the ease!
2020-08-27 00:08:02 +10:00
eeintech
946d824995
Switched to ModelChoiceField
2020-08-24 11:41:14 -05:00
eeintech
9fa13aeae3
Show 'available_stock' in Part string representation
2020-08-20 15:38:41 -05:00
Oliver Walters
82903d2bd6
BOM display is now heirarchical
2020-08-18 21:01:22 +10:00
Oliver Walters
68fb599c73
Major improvements to BOM upload
...
- Column headings now match the values provided in BOM import template
- Add a new column for part selection, while displaying all imported data
- Better code documentation
- Improve data validation
- Allow decimal quantity (not just integer!)
- Better matching logic
2020-08-18 14:01:01 +10:00
Oliver Walters
7349b396ca
Merge remote-tracking branch 'upstream/master' into bom-import-export
2020-08-18 11:50:40 +10:00
Oliver Walters
476cc5f661
BOM upload: improve generation of "import" template
...
- Better field naming
- Remove some fields which are not required here
- Better description of what is going to happen
2020-08-18 11:47:27 +10:00
eeintech
303157c586
Added part match auto-selection (if partial_ratio >= 100) to BoM part selection form
2020-08-17 14:10:24 -05:00
Oliver Walters
fa3d2d005a
"Active" part toggle is always enabled
2020-06-22 11:27:59 +10:00
Oliver Walters
930f903f5d
Add ability to display "out of stock" items against a part
2020-06-22 10:48:41 +10:00
Oliver Walters
2e91f64a96
Add (disabled) print-label button for Part display
2020-06-12 18:13:14 +10:00
Oliver Walters
1ad4b8b131
Reorganize buttons for "Part" view
2020-06-12 18:11:57 +10:00
Oliver Walters
09400fd66b
Decimalize display of variant stock
...
(cherry picked from commit 6e45360c4b7a6bc91f584f498fb6e1988593db95)
2020-06-09 13:31:16 +10:00
Oliver Walters
126e42a022
Add "IPN" column to stock list table
2020-06-06 08:47:06 +10:00
Oliver Walters
78990a99e5
Fix serializer for stock item
2020-05-26 23:01:30 +10:00
Oliver Walters
47a4ab2ed8
Template changes
2020-05-26 11:38:17 +10:00
Oliver Walters
27ca84fd2a
Part view shows next available serial number
2020-05-26 11:34:11 +10:00
Oliver Walters
b9799e1824
Add some more part slidies
2020-05-17 17:05:04 +10:00
Oliver Walters
e30f6ec374
Add forms / views for creating / editing / deleting test templates
2020-05-17 16:50:34 +10:00
Oliver Walters
e9ed50fc4b
Add table displaying part test templates
2020-05-17 16:07:55 +10:00
Oliver Walters
66f2c01d5d
Add (empty) page for displaying part test templates
2020-05-17 14:26:53 +10:00
Oliver Walters
db01f3646a
Enable drag-and-drop attachment upload for Part
2020-05-13 11:13:26 +10:00
Oliver Walters
f5b97da5d2
Refactor "attachment" table into template
2020-05-12 22:05:38 +10:00
Oliver Walters
366d4b2143
Add new attechment functionality to new models
...
- Giving the ol' refactor tractor a fresh coat of paint
2020-05-12 21:40:42 +10:00
Oliver Walters
14132a6efa
Add views / models / etc etc to support StockItem attachment
2020-05-07 09:57:54 +10:00
Oliver Walters
6318b0bddf
Hide a silly button which does nothing
2020-05-04 19:51:06 +10:00
Oliver Walters
0933cf859c
Add "new manufacturer" button
2020-05-04 19:48:09 +10:00
Oliver Walters
b39283a18f
Separate allocation counters
2020-05-02 20:29:20 +10:00
Oliver Walters
df218a5193
Fix rendering of "used in" page
2020-04-28 22:57:18 +10:00
Oliver Walters
9add3d4409
Much better rendering and calculation of part allocations
2020-04-28 10:43:46 +10:00
Oliver Walters
6bdf371490
Moar UI and translation string fixes
2020-04-28 09:41:47 +10:00
Oliver Walters
440fe155ff
Change glyphicons for fontawesome
...
I think I gottem all
2020-04-28 09:31:51 +10:00
Oliver Walters
4fd7b24e3c
Update buttons for part BOM view
2020-04-28 08:36:13 +10:00
Oliver Walters
35f48ed899
Delete BuildItem objects once a Build has been completed
...
- Much more complicated template for build allocation page!
- This will require some refactoring at some point ...
2020-04-27 20:46:34 +10:00
Oliver Walters
646dd65d27
Re-enable auto-allocation for build
2020-04-27 20:05:02 +10:00
Oliver Walters
5167117067
Calculate 'fulfilled' quantity once a sales order is marked as shipped
...
- This allows us to delete the SalesOrderAllocation objects from the database
2020-04-27 08:58:18 +10:00
Oliver Walters
e768ada83b
More work
...
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +10:00
Oliver Walters
4147163418
Improve status code label rendering
2020-04-26 15:29:21 +10:00
Oliver Walters
72c43d0c2d
Bug fix for build completion form
2020-04-25 23:59:28 +10:00
Oliver Walters
429bb688d0
Template fixes
2020-04-24 13:03:38 +10:00
Oliver Walters
b45fec221c
Expose more status code data to the templates
...
- Status codes are now exposed globally to every page
- Much simplified so wow
- https://stackoverflow.com/questions/3221592/how-to-pass-common-dictionary-data-to-every-page-in-django
2020-04-24 09:27:42 +10:00
Oliver Walters
7f020cbbf6
Enbiggen a whole lotta buttons
2020-04-23 19:41:14 +10:00