[FIX] account_reconciliation_widget: dict refactoring / typo fix

This commit is contained in:
Francisco Ivan Anton Prieto
2021-01-19 11:16:00 +01:00
parent aa43f5881b
commit 038f4150d9
2 changed files with 3 additions and 3 deletions

View File

@@ -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",

View File

@@ -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.
""" """