From ba29eec0050a0e47c9344f4a7fd4e42785779a53 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Fri, 1 Dec 2023 16:20:30 +0700 Subject: tracking field unlock on reconcile --- indoteknik_custom/models/account_bank_statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/account_bank_statement.py b/indoteknik_custom/models/account_bank_statement.py index 23008f13..61e9ca31 100644 --- a/indoteknik_custom/models/account_bank_statement.py +++ b/indoteknik_custom/models/account_bank_statement.py @@ -4,7 +4,7 @@ from odoo.exceptions import AccessError, UserError, ValidationError class AccountBankStatement(models.Model): _inherit = "account.bank.statement" - is_edit = fields.Boolean(string='Unlock', default=False) + is_edit = fields.Boolean(string='Unlock', default=False, tracking=True) def is_edited(self): if not self.env.user.is_admin_reconcile: -- cgit v1.2.3