Oliver Walters
f4b470c396
Merge remote-tracking branch 'inventree/master' into shipment-assign-fix
2022-05-17 18:48:57 +10:00
Oliver Walters
27930cd897
PEP style fixes
2022-05-17 00:41:03 +10:00
Oliver Walters
6512c0061e
Catch a 500 and make it a 400
...
While we are at it, convert __all__ to non_field_errors automatically
2022-05-17 00:35:24 +10:00
Matthias
ecccfbd546
Remove encoding header
...
Fixes #2996
2022-05-15 20:33:00 +02:00
Matthias Mair
a1016c746c
Merge branch 'inventree:master' into so_fix_clean
2022-05-05 11:27:44 +02:00
Matthias
df9ca599a2
use full names consistently
2022-05-04 15:18:36 +02:00
Oliver Walters
1cefdfc2e4
PEP style fixes
2022-05-04 17:31:44 +10:00
Oliver Walters
a510ca89f7
Refactor CancelSalesOrder form
2022-05-04 15:55:21 +10:00
Oliver Walters
bf48e3204b
Refactor PurchaseOrderIssue form
2022-05-04 15:45:13 +10:00
Oliver Walters
5afc3bfce2
Replace PurchaseOrderComplete form
2022-05-04 15:33:50 +10:00
Oliver Walters
c7980a347e
Adds ability to add custom serializer context information to the OPTIONS endpoint
...
- Will be useful for constructing prettier forms with information about the endpoint
2022-05-04 15:06:02 +10:00
Oliver Walters
141b764b94
Modal fixes
2022-05-03 14:01:25 +10:00
Oliver Walters
8cd8581dbf
fixes
2022-05-03 13:51:04 +10:00
Oliver Walters
1794f65d19
Button to submit each row individually
2022-05-03 13:44:28 +10:00
Oliver Walters
e87a02638e
Merge remote-tracking branch 'inventree/master' into order-parts-wizard
...
# Conflicts:
# InvenTree/order/serializers.py
# InvenTree/templates/js/translated/model_renderers.js
2022-05-02 16:11:11 +10:00
Matthias
de6507e918
update translation commands
2022-05-01 22:03:49 +02:00
Matthias
a1a743513f
add context to extra lines
2022-03-27 01:55:55 +01:00
Matthias
68a02af9cd
finish renaming SO / PO
2022-03-27 01:41:16 +01:00
Matthias
bff2fb81f3
rename AdditionalLineItems to ExtraLine
2022-03-27 01:11:25 +01:00
Oliver Walters
64bbcd2570
Add validation checks for the PurchaseOrderLineItem serializer
2022-03-21 22:41:50 +11:00
Matthias
98ea838ec4
fix serializer
2022-03-11 01:55:13 +01:00
Matthias
f5d3a64aef
add missing class
2022-03-11 01:18:26 +01:00
Matthias
c69fdf90d9
add PO serializer
2022-03-11 00:34:16 +01:00
Matthias
2ae038a006
use abstract classes
2022-03-11 00:33:59 +01:00
Matthias
e2d301be3f
add total to PO serializer
2022-03-11 00:26:27 +01:00
Matthias
d086f09771
use more abstract definitions
2022-03-11 00:25:58 +01:00
Matthias
174bba90ab
total read only
2022-03-06 23:49:36 +01:00
Matthias
5336d09296
fix api values
2022-03-06 23:34:01 +01:00
Matthias
f0b19e69b8
add total price woth js reload
2022-03-06 23:21:33 +01:00
Matthias
acec4fa5d5
remove titile
2022-03-06 18:43:27 +01:00
Matthias
aed708d339
PEP fix
2022-03-05 23:25:00 +01:00
Matthias
b81d2b8410
cut back on modifications
2022-03-05 23:10:20 +01:00
Matthias
157f0e72a7
[FR] Add delivery cost (excluding unit cost that already exists) in PO
...
Fixes #2694
2022-03-04 01:06:39 +01: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
421db61f21
Adding unit testing for new features
2022-02-28 23:09:57 +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
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
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
f6ffef66e0
Fixes for new "allocation" tab
...
- Fix broken link
- Add "description" column
- Add thumbnail images
2022-01-27 16:25:26 +11:00
Matthias
2ec41b02f8
append information about next serial numbe to fnc call
...
Fixes #2484
2021-12-29 03:01:52 +01:00
Oliver
31398b4c10
Sales order can now be completed via the API
2021-12-04 13:50:11 +11:00
Oliver
008c52ef39
Allocation by serial number now moved to the API
2021-12-04 13:08:00 +11:00
Oliver
35b3bc73cc
Merge remote-tracking branch 'inventree/master' into partial-shipment
...
# Conflicts:
# InvenTree/order/api.py
2021-12-04 09:35:54 +11:00
Oliver
43ee4e390a
API updates
...
- Allow filtering of POLineItem list endpoint by base part instance
- Include "order detail" in POLineItem serializer
2021-12-03 20:53:59 +11:00
Oliver
88fce1e813
Unit test fixes
2021-12-03 18:42:36 +11:00
Oliver
80b615bfb7
Import fix
2021-12-03 00:08:05 +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
Oliver
ecf70b6d4d
Some PEP fixes
2021-12-02 23:58:02 +11:00