After I updated the Community and Enterprise modules for my Odoo 13 instance, there seems to be a problem at creating Invoices on the Account module.
It seems that the error has to do with the variable 'sequence_date', I tried to update the module but the problem still persists.