mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	only render it as a date
This commit is contained in:
		| @@ -443,7 +443,7 @@ class PartDetail(InvenTreeRoleMixin, DetailView): | ||||
|                 if stock_item.purchase_order and stock_item.purchase_order.issue_date: | ||||
|                     line['date'] = stock_item.purchase_order.issue_date.isoformat() | ||||
|                 elif stock_item.tracking_info.count() > 0: | ||||
|                     line['date'] = stock_item.tracking_info.first().date.isoformat() | ||||
|                     line['date'] = stock_item.tracking_info.first().date.date().isoformat() | ||||
|                 else: | ||||
|                     # Not enough information | ||||
|                     continue | ||||
|   | ||||
		Reference in New Issue
	
	Block a user