mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconciliation_widget: dict refactoring / typo fix
This commit is contained in:
@@ -27,9 +27,9 @@ class AccountJournal(models.Model):
|
|||||||
action_context = {
|
action_context = {
|
||||||
"show_mode_selector": False,
|
"show_mode_selector": False,
|
||||||
"company_ids": self.mapped("company_id").ids,
|
"company_ids": self.mapped("company_id").ids,
|
||||||
|
"suspense_moves_mode": True,
|
||||||
|
"statement_line_ids": ids,
|
||||||
}
|
}
|
||||||
action_context.update({"suspense_moves_mode": True})
|
|
||||||
action_context.update({"statement_line_ids": ids})
|
|
||||||
return {
|
return {
|
||||||
"type": "ir.actions.client",
|
"type": "ir.actions.client",
|
||||||
"tag": "bank_statement_reconciliation_view",
|
"tag": "bank_statement_reconciliation_view",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class AccountMoveLine(models.Model):
|
|||||||
|
|
||||||
:param writeoff_vals: list of dicts containing values suitable for
|
:param writeoff_vals: list of dicts containing values suitable for
|
||||||
account_move_line.create(). The data in vals will be processed to
|
account_move_line.create(). The data in vals will be processed to
|
||||||
create bot writeoff account.move.line and their enclosing
|
create both writeoff account.move.line and their enclosing
|
||||||
account.move.
|
account.move.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user