<|endoftext|> Prompt: Create an Odoo model class named AccountAccount with is_off_balance attribute Completion: class AccountAccount(models.Model):
    _name = "account.account"
    _inherit = ['mail.thread']
    _description = "Account"
    is_off_balance = fields.Boolean(compute='_compute_is_off_balance', default=False, store=True, readonly=True)
    @api.depends('internal_group')
    def _compute_is_off_balance(self):
            for account in self:
                        account.is_off_balance = account.internal_group == "off_balance"
<|endoftext|>