Payment term is not full historized on invoices with account_invoice_history module
The payment term and payment term line is always the newest on invoices with account_invoice_history module. It should be the payment term in time of the
open date.