[IMP] account: when the period is not defined, raise a RedirectWarning instead of a simple warning.
This allows to add a redirection button to the configuration panel
of fiscal years.