mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 12:50:11 -05:00
5fd0625e3a
Purchase orders with line items crashed the detail page because the template referenced item.stock_item without a SQLAlchemy relationship, and used datetime.now() in Jinja where datetime was not in context. Add PurchaseOrderItem.stock_item, pass default_received_date from the view route, and add a regression test for viewing a PO that includes line items.