[8.0] Add account constraint chronology

Add account_constraint_chronology module

This module help ensuring the chronology of invoice numbers.

It prevents the validation of invoices when:
* there are draft invoices with an anterior date
* there are validated invoices with a posterior date

The check can be activated on a per-journal basis
(for sale and purchase journals).
please use self.env['model'] registery is deprecated