13 Commits

Author SHA1 Message Date
Akim Juillerat
83bd8f71a2 account_statement_import: Do not overwrite journal active_id
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.
2024-05-28 21:21:40 +02:00
bosd
ecaa50c284 [FIX] account_statement_import: dot files 2024-02-02 21:42:25 +01:00
Enric Tobella
2494f08fa1 [IMP] account_statement_import: add consistency
If you are importing from a journal, data should be consistent
2022-11-18 10:47:50 +01:00
Enric Tobella
36fe2985e5 [IMP] account_statment_import: Add button for importing on top 2022-11-17 17:51:17 +01:00
Alexis de Lattre
8987b4c993 [ADD] module account_statement_import_file_reconciliation_widget
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.
2022-08-10 17:58:33 +02:00
Alexis de Lattre
2075974e23 Add module account_statement_import_base
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.
2022-08-09 10:13:47 +02:00
Florian da Costa
9778c31350 [FIX] Error string formatting 2021-06-04 18:12:57 +02:00
Alexis de Lattre
d664d65cfe [FIX] account_statement_import: don't raise an error when a multi-statement file has one empty statement
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.
2021-03-26 14:46:16 +01:00
Pedro M. Baeza
2ce3f4da86 [FIX] account_statement_import: Read action with sudo
If not, other users except admins can't import statements.

Remaining thing from previous patch.
2021-02-15 09:45:16 +01:00
Luc De Meyer
a186725633 [14.0][FIX]camt import 2021-01-31 12:40:22 +01:00
Alexis de Lattre
f752e3bc17 [MIG] account_bank_statement_import to v14 > account_statement_import
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 !
2021-01-07 09:25:12 +01:00
Pedro M. Baeza
d126f8192a [IMP] account_bank_statement_import: black, isort 2021-01-07 09:17:47 +01:00
Odoo SA
b47eb66eb0 Import account_bank_statement_import by Odoo SA
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
2021-01-07 09:17:47 +01:00