mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
adds target_date field when adding a new line item to a purchase order
This commit is contained in:
parent
784189be75
commit
b451f3d149
@ -168,7 +168,7 @@ class POLineItemSerializer(InvenTreeModelSerializer):
|
||||
quantity = serializers.FloatField(default=1)
|
||||
received = serializers.FloatField(default=0)
|
||||
|
||||
overdue = serializers.BooleanField()
|
||||
overdue = serializers.BooleanField(required=False, read_only=True)
|
||||
|
||||
total_price = serializers.FloatField(read_only=True)
|
||||
|
||||
|
@ -174,6 +174,7 @@ $('#new-po-line').click(function() {
|
||||
value: '{{ order.supplier.currency }}',
|
||||
{% endif %}
|
||||
},
|
||||
target_date: {},
|
||||
destination: {},
|
||||
notes: {},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user