Sale Opportunity and history can't read line records
Scenario:
1- Create a new sale oppportunity and save (without lines). In history tab, there is a history record. You could open history records. It's ok.
2- Create a new line opportunity and save. Go to history tab, open last history and click lines tab:
You try to read records that don't exist anymore.
(Document type: sale.opportunity.line)