[MIG] account_statement_base: Migration to 18.0

This commit is contained in:
Duy (Đỗ Anh)
2024-11-05 14:10:04 +07:00
parent 35e8057076
commit 4df6e7b411
16 changed files with 58 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
from odoo import _, models
from odoo import models
class AccountBankStatement(models.Model):
@@ -48,8 +48,8 @@ class AccountBankStatement(models.Model):
def open_entries(self):
self.ensure_one()
return {
"name": _("Journal Items"),
"view_mode": "tree,form",
"name": self.env._("Journal Items"),
"view_mode": "list,form",
"res_model": "account.move.line",
"view_id": False,
"type": "ir.actions.act_window",