Allow Fiscal Year Sequence for all documentby Ecosoft
OpenERP only allow resetting of Sequence only for document with Journal, i.e., Invoices, Voucher.
This module make sure that, if context['fiscalyear_id'] is not passed (normally for non-Journal doc like Sales Order), use today to get the Fiscal Year.
Once Fiscal Year is available, then sequence can be retrieved as setup in Sequence's Fiscal Year tab.
- This will have problem, i.e., if user use back date or forward date, system will not know.
- To resolve it, one must ensure that context['fiscalyear_id'] is passed programmatically.