summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-12-01 16:20:30 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-12-01 16:20:30 +0700
commitba29eec0050a0e47c9344f4a7fd4e42785779a53 (patch)
tree9312751844edd3f732c4eb674d326dda9b7138c0 /indoteknik_custom
parent2ff685ec17c73b72cad92fbe8e7d4eb951bc2b89 (diff)
tracking field unlock on reconcile
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/models/account_bank_statement.py2
1 files changed, 1 insertions, 1 deletions
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: