Oliver
2378073c61
SalesOrderShipment improvements ( #3058 )
...
* Adds two new fields to SalesOrderShipment model:
- Invoice number (char)
- Link (URL)
* Bump API version
* Update API / serializer / JS
- Allow entry of new fields at time of shipping
* PEP fixes
* Actually fix the PEP issues
* Unit testing: check some more fields
2022-05-25 11:00:19 +10:00
Oliver
3c02b95f85
Shipment date edit ( #3050 )
...
* Allow user to select shipment date when shipping a salesorder
- Defaults to 'today'
* Retain the tracking number information through the from
* JS linting
* Add unit testing for the SalesOrderShipmentComplete serializer / API endpoint
2022-05-23 13:57:40 +10:00
Matthias Mair
e1d22f538d
resort imports
2022-05-20 17:24:51 +02:00
Oliver Walters
0831b85e29
Adding some unit tests for SalesOrderLineItem API
2022-05-19 01:39:16 +10:00
Oliver Walters
b6c2ade940
Add unit test for downloading Part data
2022-05-18 07:52:29 +10:00
Oliver Walters
1c6d79451e
Don't decode downloaded .xls file
2022-05-18 07:25:43 +10:00
Oliver Walters
c5b14944a1
Unit tests for downloading BuildOrder data
2022-05-18 00:31:43 +10:00
Oliver Walters
0d078768fe
Unit tests for downloading PurchaseOrder data
2022-05-18 00:08:11 +10:00
Oliver Walters
a6be0b32c6
Add unit tests for exporting SalesOrder data
2022-05-17 23:48:58 +10:00
Oliver Walters
bd17458f37
Add metadata endpoints for SalesOrder and PurchaseOrder models
2022-05-16 21:40:10 +10:00
Oliver Walters
1c0fba0fca
Add unit test for SalesOrderCancel API endpoint
2022-05-04 21:51:09 +10:00
Oliver Walters
7a5be35f10
Add unit tests for new purchase order API endpoints:
...
- PurchaseOrderCancel
- PurchaseOrderComplete
- PurchaseOrderIssue
2022-05-04 21:44:38 +10:00
Matthias
68a02af9cd
finish renaming SO / PO
2022-03-27 01:41:16 +01:00
Oliver
09ff4862ec
Unit test fixes
2022-03-07 14:43:55 +11:00
Oliver
421db61f21
Adding unit testing for new features
2022-02-28 23:09:57 +11:00
Oliver
93173ef1ee
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/order/serializers.py
2021-12-02 23:58:52 +11:00
Matthias
c2a6a8a30c
PEP fix
2021-12-02 10:01:20 +01:00
Matthias
970cec590b
only values starting with int possible -> only positive values
2021-12-02 09:06:58 +01:00
Matthias
c4f1a81c9c
fix permissions for test
2021-12-02 01:18:45 +01:00
Matthias
fc6f1b4acc
unittests to show the fix works
2021-12-01 23:45:16 +01:00
Oliver
68e2b0850b
Merge branch 'master' into partial-shipment
...
# Conflicts:
# InvenTree/build/serializers.py
# InvenTree/order/templates/order/so_sidebar.html
2021-11-26 08:25:51 +11:00
Matthias
d884e62be1
[FR] Confirm to W293
...
Fixes #2335
2021-11-23 00:28:23 +01:00
Oliver
d5cf2b08ac
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/InvenTree/version.py
# InvenTree/order/models.py
2021-11-11 12:35:59 +11:00
Oliver
30684685f9
Add unit test to check an "empty" (null) barcode can be supplied
2021-11-09 12:07:57 +11:00
Oliver
bff9f0828a
Adds API endpoint to allocate stock items against a SalesOrder
...
- SalesOrderAllocations are no longer created manually
- API endpoint performs data validation
- Multiple line items can be allocated at once
- Adds unit testing for new API endpoint
2021-10-26 23:51:36 +11:00
Oliver
b60296e494
Add some more unit tests
2021-10-16 13:16:19 +11:00
Oliver
93c53315cc
Unit test fixes
2021-10-05 17:35:10 +11:00
Oliver
8c78d3b8ea
Add unit test
2021-10-03 01:03:40 +10:00
Oliver Walters
f38bf6e20a
Adds unit testing for barcode field
2021-09-07 23:34:14 +10:00
Oliver Walters
0d7eb6b72c
Style fixes
2021-08-24 22:25:25 +10:00
Oliver
1b65fbad2c
Update unit tests
...
- Found some bugs too, thanks unit tests!
2021-08-24 11:42:08 +10:00
Oliver
d30173132a
Actually receive items
2021-08-24 08:49:23 +10:00
Oliver
2aa505b2cb
Fix unit tests to match new API format
2021-08-24 08:18:59 +10:00
Oliver
dc53a433a7
Fix serializer nesting
...
- Add new API endpoint to receive items
- Add unit testing
2021-08-23 23:35:22 +10:00
Oliver
4fe6562d29
PEP fixes
2021-06-22 16:43:49 +10:00
Oliver
26dd9c10a4
Fixes for SalesOrder API
2021-06-22 16:43:38 +10:00
Oliver
3fa3ce06a1
Fixes for PurchaseOrder API interface
...
- Allow DELETE endpoint for PurchaseOrder
- Remove 'read_only' attribute for 'reference' field
- Add extra functionality to API test class
- Add unit testing
2021-06-22 16:28:42 +10:00
Matthias
4156b71c4b
Merge branch 'master' of https://github.com/inventree/InvenTree into price-history
2021-05-11 13:32:14 +02:00
Matthias
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Matthias
a11fff0269
man those tests take long
2021-04-22 23:17:27 +02:00
Matthias
83764d5e6c
added PO in the fixtures so that should be higher
2021-04-22 22:57:48 +02:00
Oliver Walters
b315b958b0
PEP fixes
2021-02-27 07:56:38 +11:00
Oliver Walters
5a536be22d
More test refactoring
2021-02-26 22:08:06 +11:00
Oliver Walters
fef5b7548e
Increase unit testing for order API
2021-01-14 22:06:53 +11:00
Oliver Walters
ae7fbd6112
Add PEP8-naming extension for flake
...
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters
3151612962
PEP fix
2020-05-12 00:07:08 +10:00
Oliver Walters
cfc0145180
Add some unit tests
2020-05-11 23:44:22 +10:00
Oliver Walters
eeeb04c9f4
Unit testing for Order app API
2020-04-10 08:02:51 +10:00