Skip to content

Commit 29ab77a

Browse files
Fix for PurchaseOrderLineItem.receive
- Fix default value for "expiry_date"
1 parent d508bc6 commit 29ab77a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inventree/purchase_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def getOrder(self):
163163
"""
164164
return PurchaseOrder(self._api, self.order)
165165

166-
def receive(self, quantity=None, status=10, location=None, expiry_date='', batch_code='', serial_numbers=''):
166+
def receive(self, quantity=None, status=10, location=None, expiry_date=None, batch_code='', serial_numbers=''):
167167
"""
168168
Mark this line item as received.
169169

0 commit comments

Comments
 (0)