[IMP] account_reconcile_oca: Allow to define the statement directly

This commit is contained in:
Enric Tobella
2024-04-21 23:55:05 +02:00
parent 7a7b28f155
commit b64ffc6eda
5 changed files with 51 additions and 1 deletions

View File

@@ -11,6 +11,5 @@ class AccountBankStatement(models.Model):
action = self.env["ir.actions.act_window"]._for_xml_id(
"account_reconcile_oca.account_bank_statement_action_edit"
)
print(action)
action["res_id"] = self.id
return action