Oliver
f33f1a339d
Add more information to scheduling chart
...
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779
Scheduling information is now calculated on the server, and provided via a new API endpoint
...
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Oliver
dfd6684699
Add incoming stock for build orders
2022-03-01 17:31:26 +11:00
Oliver
8f7164d5cd
Add information for outgoing stock (sales orders)
2022-03-01 17:24:09 +11:00
Oliver
37ac8f6517
Display scheduled incoming stock for purchase orders
2022-03-01 17:13:47 +11:00
Oliver
a278e52443
Merge branch 'master' into scheduling
2022-03-01 16:50:57 +11:00
Oliver
a30e478412
Merge pull request #2685 from SchrodingersGat/date-format
...
Adds a user-configurable setting to configure how dates are displayed
2022-03-01 08:45:30 +11:00
Oliver
1393e38eec
Adds date rendering to new target_date fields
2022-03-01 08:23:52 +11:00
Oliver
abbd087a66
Merge pull request #2688 from SchrodingersGat/custom-admin-url
...
Custom admin url
2022-03-01 08:21:31 +11:00
Oliver
5d37ce9175
Merge remote-tracking branch 'inventree/master' into date-format
2022-03-01 08:18:24 +11:00
Oliver
c4d462b0b4
Merge pull request #2684 from SchrodingersGat/po-target-date
...
Order target date improvements
2022-03-01 08:17:54 +11:00
Oliver
f3e7af3cc3
Merge pull request #2686 from SchrodingersGat/po-receive-serials
...
Po receive serials
2022-03-01 00:58:44 +11:00
Oliver
d25e3dba20
Merge pull request #2687 from SchrodingersGat/create-and-continue
...
Create and continue
2022-03-01 00:58:27 +11:00
Oliver
9d3f6ea418
PEP fix
2022-03-01 00:58:20 +11:00
Oliver
b2e0241b12
Adds option to "obfuscate" the admin URL
...
- By default, uses '/admin/'
- Can be set in config yaml file
- Can be set by environment variable
2022-03-01 00:57:53 +11:00
Oliver
63d052e1ca
Fixes for unit tests
...
- Prioritize "integer" values when extracting serial numbers
2022-03-01 00:37:27 +11:00
Oliver
42a75863fe
Adds a "persist" option for modal forms
2022-03-01 00:25:14 +11:00
Oliver
7170e16ae7
Adds ability to display "success" messages inside a persistant modal dialog
2022-03-01 00:05:30 +11:00
Oliver
9f5618a51f
Adds option to reload a form after success, rather than dismissing it
2022-02-28 23:57:28 +11:00
Oliver
0eba6f2476
Prevent operations on null dates
2022-02-28 23:39:11 +11:00
Oliver
7ad9f8852e
PEP fix
2022-02-28 23:31:48 +11:00
Oliver
615a954e09
Refactor UI for adding batch code and serial numbers
2022-02-28 23:31:23 +11:00
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
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