Store function fields on Sale, Purchase, Invoice
To improve the read, Tryton could store the function fields when the record is in a readonly state.
Sale: untaxed_amount, tax_amount, total_amount
Sale Line: amount
Purchase: untaxed_amount, tax_amount, total_amount
Purchase Line: amount
Invoice: untaxed_amount, tax_amount, total_amount
Invoice Line: amount