Oliver
fdc2cae6ba
Fix some existing problems with the extract_serial_numbers helper function
...
- Serial numbers don't really have to be "numbers"
- Allow any text value once other higher-level checks have been performed
2022-02-28 23:31:12 +11:00
Oliver
421db61f21
Adding unit testing for new features
2022-02-28 23:09:57 +11:00
Oliver
9e0120599f
Adds front-end javascript code to implement new serializer features
2022-02-28 22:48:15 +11:00
Oliver
73484192a5
Add "batch code" and "serial numbers" serializer fields when receiving stock items against a purchase order
2022-02-28 22:47:41 +11:00
Oliver
7d19b21dff
JS linting
2022-02-28 19:22:22 +11:00
Oliver
50a32a13f0
PEP style fixes
2022-02-28 19:15:12 +11:00
Oliver
fd02f1b761
Add option for display of "time" in addition to date
2022-02-28 19:14:20 +11:00
Oliver
b00ae67d68
Pass dates in templates through the new template tag
2022-02-28 19:10:33 +11:00
Oliver
08946a411a
Created template tag which renders date in templates based on user preference
2022-02-28 19:07:46 +11:00
Oliver
040f1805e0
Pass dates displayed in front-end tables through the date formatter
2022-02-28 16:13:08 +11:00
Oliver
c720c75b79
Adds javascript function for rendering a date according to user preference
2022-02-28 16:10:16 +11:00
Oliver
b19719516b
Adds a user-configurable setting to configure how dates are displayed (on the front end only!)
2022-02-28 15:57:34 +11:00
Oliver
7c82857cc7
Remove unique_together requirement for purchaseorderlineitem
...
- Allow a single purchase order to specify duplicate lines (e.g. split shipments / order scheduling)
2022-02-28 15:27:56 +11:00
Oliver
4858787a78
Adds "overdue" field to sales order line item
...
- API serializer
- front end / UX tables
2022-02-28 15:24:01 +11:00
Oliver
b451f3d149
adds target_date field when adding a new line item to a purchase order
2022-02-28 15:11:10 +11:00
Oliver
784189be75
Update purchase order table from part context
2022-02-28 15:07:12 +11:00
Oliver
9e82b28e9d
Update PO line item table
2022-02-28 15:03:39 +11:00
Oliver
df7713f6c2
Adds "overdue" annotation field to POLineItem serializer
2022-02-28 15:03:22 +11:00
Oliver
557aa44904
Adds "target_date" field to PurchaseOrderLineItem and SalesOrderLineItem models
...
- Allows different target dates to be specified for different line items
- If not set (null) then the base "target_date" parameter for the parent order is used
2022-02-28 14:26:01 +11:00
Oliver
010ce48ce0
Merge pull request #2682 from matmair/matmair/issue2672
...
Fix git version bug
2022-02-28 14:15:40 +11:00
Matthias Mair
86ba69eeaf
Merge branch 'inventree:master' into matmair/issue2279
2022-02-28 00:45:58 +01:00
Matthias
ba263187a5
optimise coverage
2022-02-28 00:35:36 +01:00
Matthias
f80f960923
translate error message
2022-02-28 00:34:28 +01:00
Matthias
f3f010c4be
write error if too old git
2022-02-28 00:34:02 +01:00
Matthias
ca8df60d00
PEP fixes
2022-02-28 00:28:03 +01:00
Matthias
084f9d5444
make more readable
2022-02-28 00:23:55 +01:00
Matthias
1591597ef9
check if modern git is used
2022-02-28 00:23:46 +01:00
Matthias
8550915528
opimise coverage
2022-02-28 00:23:25 +01:00
Matthias
bae290d605
check git version and safe for runtime
2022-02-28 00:17:21 +01:00
Oliver
94fce5ce59
Merge pull request #2680 from matmair/matmair/issue2670
...
Add DO quickdeploy to readme
2022-02-28 09:56:16 +11:00
Matthias Mair
bb480b1e81
Add DO to readme
2022-02-26 23:10:55 +01:00
Oliver
8587a59ec1
WIP - loading graph
2022-02-26 18:36:25 +11:00
Oliver
c882d1f89b
Merge pull request #2676 from SchrodingersGat/location-permission-fix
...
Stock location template fix
2022-02-26 18:36:08 +11:00
Oliver
e162432fde
Merge remote-tracking branch 'origin/master' into scheduling
2022-02-25 23:01:17 +11:00
Oliver
65e4ee5793
PEP style fixes
2022-02-25 23:01:02 +11:00
Oliver
7c26d8f71d
Refactor ownership for StockItem model
2022-02-25 22:58:00 +11:00
Oliver
d6764573c3
Refactor "ownership" concepts in templates
...
- Template code was very messy
- Makes it a lot "simpler"
- Adds convenience functions to the StockLocation model
- Adds pre-calculated data to the template
- Display ownership information on the stocklocation page
2022-02-25 22:45:24 +11:00
Oliver Walters
0da5957c50
template fix
2022-02-25 21:23:20 +11:00
Oliver Walters
dc6996290f
Merge remote-tracking branch 'inventree/master'
2022-02-25 20:09:06 +11:00
Oliver
cbb88806cd
Merge pull request #2673 from SchrodingersGat/build-order-allocating-substitutes
...
Build order allocating substitutes
2022-02-25 17:47:26 +11:00
Oliver
fe4d063135
Change some prints to log messages
2022-02-25 17:19:39 +11:00
Oliver
baab955756
Further fixes for unit tests
2022-02-25 17:17:34 +11:00
Oliver
d9e1302eaf
Fixes for unit testing
2022-02-25 16:42:35 +11:00
Oliver
6bdac076d7
Adds a checkmark to indicate that a stock item has passed all required tests
2022-02-25 16:03:44 +11:00
Oliver
88bb0f05e9
URL fixes
2022-02-25 16:00:00 +11:00
Oliver
fea6091e42
Fix incorrect inputs
2022-02-25 15:57:30 +11:00
Oliver
ef9c6e9fe0
Bug fix
2022-02-25 15:56:40 +11:00
Oliver
9e3406efc9
Add stock tracking code to indicate stock has been consumed by a build order
2022-02-25 15:56:09 +11:00
Oliver
bb164ed72a
Remove old unused functions
2022-02-25 15:47:07 +11:00
Oliver
3dde0dbb2b
PEP fixes
2022-02-25 15:43:45 +11:00