Commit Graph

11932 Commits

Author SHA1 Message Date
Matthias
7d9edaea8b
add docstrings 2022-02-28 19:43:00 +01:00
Matthias
63977d47ce
only test once 2022-02-28 19:41:23 +01:00
Matthias
9552482471
fix initial checks 2022-02-28 19:38:14 +01:00
Matthias
ac2d54a150
catch uniqueness 2022-02-28 19:29:54 +01:00
Matthias
28012a3cea
only add once 2022-02-28 19:19:10 +01:00
Matthias
a426742567
[FR] Non-interactive, environment variable based set-up in Docker deployments
Fixes #2501
2022-02-28 19:08:52 +01:00
Matthias
ed5c23fcea
Add template defaults 2022-02-28 18:50:16 +01: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
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