Speedup fiscalyear closing process
The fiscalyear closing process can be optimized by processing all the accounts in a bunch instead of creating it one by one.
I noticed a huge speedup, from 10 minutes to 10 seconds with account_es module, which has ~2000 accounts and ~600 deferrals.