diff --git a/addons/account/models/account.py b/addons/account/models/account.py index f41b3710777..5e158e158f2 100644 --- a/addons/account/models/account.py +++ b/addons/account/models/account.py @@ -102,7 +102,7 @@ class AccountAccount(models.Model): deprecated = fields.Boolean(index=True, default=False) user_type_id = fields.Many2one('account.account.type', string='Type', required=True, oldname="user_type", help="Account Type is used for information purpose, to generate country-specific legal reports, and set the rules to close a fiscal year and generate opening entries.") - internal_type = fields.Selection(related='user_type_id.type', store=True) + internal_type = fields.Selection(related='user_type_id.type', store=True, readonly=True) #has_unreconciled_entries = fields.Boolean(compute='_compute_has_unreconciled_entries', # help="The account has at least one unreconciled debit and credit since last time the invoices & payments matching was performed.") last_time_entries_checked = fields.Datetime(string='Latest Invoices & Payments Matching Date', readonly=True, copy=False,