The call to parse_file must not overwrite the active_id value in the context
as this active_id refers to the journal from which the wizard was called.
It was especially wrong because the existing active_model key is still set to
account.journal, with an active_id that was referencing account.statement.import
wizard ID.
If the wizard ID is needed, it can still be found on self, and if this ID
must be propagated through the context, it must use a dedicated key instead
of hijacking the active_id.
account_statement_import_file_reconciliation_widget is a glue
auto-install module between account_statement_import (will be renamed
account_statement_import_file in v16) and account_reconciliation_widget.
The 2 modules account_statement_import_online and
account_statement_import depend on account_statement_import_base (and
not on each other) and share common code, in particular a hook to update
the statement line. So we can now have reconciliation modules that use
this hook and therefore work both on file import and online import. More
details on https://github.com/OCA/bank-statement-import/issues/481.
Improve bank statement line form view and journal form view.
When I created the module account_statement_import in v14, I added
support for multi-statement files. In the current implementation, if one
statement is empty, it raises an error which blocks the import of the
other statements that had transactions. This commit fixes this.
Module renamed to account_statement_import to avoid conflit with Odoo enterprise
Add support for multi-account statement files
Integrate the feature provided by the module account_bank_statement_import_save_file
Improve error messages
Remove dead or annoying features
Improve code !
Import code just before commit 9ba8734f15e1a292ca27b1a026e8366a91b2a8c9
that moved the module account_bank_statement_import to Odoo Enterprise
Only modifications :
- add author (Odoo SA) and license (LGPL) keys in manifest
- add copyright headers Odoo SA all main files