I need to re-open a closed fiscal year, and I'm wondering whether how I am doing this is the correct and safe way to do it:
Under "Accounting -> Periodic Processing -> End of Period -> Cancel Closing Entries" (a very promising name!) I'm not offered a closed fiscal year. I also noticed in accounting/wizard/account_open_closed_fiscalyear.py (also a very promising name) entries are removed, but the state of the fiscal year is not changed.
If I tell Postgres to
UPDATE account_fiscalyear SET state="draft" where name="2013 (My fiscal year)" and state="done";
then that fiscal year does become available in the "Cancel Closing Entries" form. After removing the closing entries with that function the fiscal year looks like it's been correctly reverted/re-opened.
Is that how it is done correctly - change the state internally, then use Cancel Closing Entries afterwards??? Thank you for your help.