Oliver Walters
ad844c4393
Simplify rendering of checkboxes in forms
...
- Display "inline" so they take up much less vertical space
2021-08-14 01:05:06 +10:00
Oliver Walters
ba1ba67f87
Only add company data if part is purchaseable
2021-08-14 00:46:30 +10:00
Oliver Walters
78340a71a9
Adds support for creation of ManufacturerPart and SupplierPart via the Part creation API
2021-08-14 00:38:08 +10:00
Oliver Walters
6218f1c7e6
Add form elements for initializing a part with supplier data
2021-08-14 00:26:22 +10:00
Oliver Walters
5cbb67b91c
Add options to show / hide form groups
2021-08-14 00:20:34 +10:00
Oliver Walters
cb11df4dba
Improve error checking for initial stock creation when creating a new part
...
- Use @transaction.atomic
- Raise proper field errors
2021-08-14 00:09:08 +10:00
Oliver Walters
1396c349c8
Refactor form field definition copying
2021-08-14 00:08:26 +10:00
Oliver Walters
5b42ab7332
Add "groups" to API forms
2021-08-13 21:48:48 +10:00
Oliver
cd4a797e71
Merge pull request #1954 from eeintech/upload_po_file
...
Improved creation of purchase order line items from file upload
2021-08-13 09:31:22 +10:00
Oliver
e8d47a4c76
Merge pull request #1953 from SchrodingersGat/bom-unit-tests
...
Add extra unit testing for BOM export
2021-08-13 09:06:29 +10:00
eeintech
9205d6d67c
Improved creation of purchase order line items from file upload
2021-08-12 14:27:00 -04:00
Oliver
26ddd36666
PEP fixes
2021-08-12 23:47:42 +10:00
Oliver
537573d0e3
Add extra unit testing for BOM export
2021-08-12 23:40:07 +10:00
Oliver
1da004d30a
Merge pull request #1952 from SchrodingersGat/dockerfile-fix
...
Dockerfile fix
2021-08-12 22:34:41 +10:00
Oliver
7df4451c08
Move some core pypi deps into requirements file
2021-08-12 22:06:47 +10:00
Oliver
a3ff90754d
Specify tag when publishing release build to docker hub
2021-08-12 22:01:42 +10:00
Oliver
31bb7734ce
Update dockerfile to allow downloading against a specific git tag
2021-08-12 22:01:14 +10:00
Oliver
fcff8d4825
Merge pull request #1944 from SchrodingersGat/report-unit-tests
...
Unit testing for report framework
2021-08-12 16:05:49 +10:00
Oliver
f59ed27cf9
Remove reliance on hard-coded PK values
2021-08-12 15:14:13 +10:00
Oliver
e36b1e6c70
PEP fixes
2021-08-12 14:51:18 +10:00
Oliver
6748f37405
Unit tests for report printing
2021-08-12 14:43:04 +10:00
Oliver
96ec8c4eb6
Copy report templates across as part of test setUp
2021-08-12 13:40:08 +10:00
Oliver
032057c93a
PEP fixes
2021-08-12 13:18:10 +10:00
Oliver
7665e83001
Merge pull request #1947 from eeintech/supplier_part
...
Hook to connect ManufacturerPart to SupplierPart using name/MPN
2021-08-12 09:15:20 +10:00
eeintech
91e314ddb5
Only connect ManufacturerPart if a. it exists b. SupplierPart is not yet connected
2021-08-11 17:08:46 -04:00
eeintech
a2590f1a3b
Merged master
2021-08-11 16:16:20 -04:00
Oliver
44818ca0c5
Some simple API unit tests
2021-08-11 17:40:00 +10:00
Oliver
3cdcdd0535
Create report templates when testing
2021-08-11 11:07:30 +10:00
Oliver
2cf7592198
Merge pull request #1941 from SchrodingersGat/lazy-loading
...
Adds one-shot function when a panel is displayed
2021-08-11 00:29:06 +10:00
Oliver
46fa60953d
Refactor part page
2021-08-11 00:12:55 +10:00
Oliver
68282c93f4
Start API calls before the panel has finished loading
2021-08-11 00:12:48 +10:00
Oliver
a1922bff81
Adds one-shot function when a panel is displayed
2021-08-11 00:09:01 +10:00
Oliver
b94104f7ab
Merge pull request #1940 from SchrodingersGat/stock-table-fix
...
Bug fix for stock table
2021-08-10 23:52:55 +10:00
Oliver
bfc489a35b
Merge pull request #1939 from SchrodingersGat/transfer-stock-bug
...
Bug fix for stock transfer form
2021-08-10 23:39:31 +10:00
Oliver
535c36b75e
Bug fix for stock table
...
- Use the provided table name, rather than hard-coded value
(cherry picked from commit b3a52dd6c65a83f2f330c0275b443e9acbcbdf73)
2021-08-10 23:31:20 +10:00
Oliver
1bf2a3e23f
Merge pull request #1938 from SchrodingersGat/auth-bug
...
Fix bug when using token based auth
2021-08-10 23:24:01 +10:00
Oliver
4c8eaf3942
Bug fix for stock transfer form
2021-08-10 23:23:02 +10:00
Oliver
799f17ef50
Bypass custom token auth for /api/ endpoint
2021-08-10 23:09:54 +10:00
Oliver
7ef5c0058e
Fix bug when using token based auth
2021-08-10 22:50:49 +10:00
Oliver
b92ec751ef
Merge pull request #1934 from markdedeuge/bugfix/timezone_heartbeat
...
use django timezone'd datetime to squash timezone warnings from worke…
2021-08-10 15:16:42 +10:00
markdedeugeQBE
641233b140
use django timezone'd datetime to squash timezone warnings from worker heartbeat
2021-08-10 14:37:05 +10:00
Oliver
0e0f490f8d
Merge pull request #1932 from SchrodingersGat/supplier-part-bug-fix
...
Supplier part bug fix
2021-08-10 11:18:02 +10:00
Oliver
3df7299a61
Merge pull request #1931 from markdedeuge/patch-1
...
Update nginx.conf to use http_host rather than host fixes #1930
2021-08-10 11:04:56 +10:00
Oliver
c32b6b2272
Hide the "part" field when editing manufacturer part and supplier part objects
2021-08-10 11:01:17 +10:00
Oliver
e03afce335
Add "instance_filters" for SupplierPart model
...
- Restrict the "manufacturer_part" query based on the current part
2021-08-10 11:00:27 +10:00
Oliver
7117c33379
Raise validation error if the manufacturer part does not point to the correct part
2021-08-10 10:58:11 +10:00
Mark De Deuge
fc06bc7574
Update nginx.conf to use http_host rather than host fixes #1930
...
Using proxy_set_header Host $host; does not pass through the port. This causes the /api-doc/ route to miss the port when attempting to render routes.
This fixes : #1930
2021-08-10 10:27:40 +10:00
Oliver
6620d34f25
Merge pull request #1913 from eeintech/bom_upload
...
BOM upload templates fixes
2021-08-10 09:11:25 +10:00
Oliver
0a1ce59dfc
Merge pull request #1858 from eeintech/exchange_rate_task
...
Exchange rate as worker task
2021-08-10 08:23:46 +10:00
eeintech
69d1c3cea2
Improved task import to support global
2021-08-09 11:55:56 -04:00