[8.0] account_invoice_entry_date

a mere porting from v7.
open to improvements.
If you want:
```
                    raise Warning(_("The invoice date cannot be later than the "
                                    "date of registration!"))
```