<|endoftext|> Prompt: Create an Odoo model class named AccountBankStatement with problem_description attribute Completion: class AccountBankStatement(models.Model):
    _name = "account.bank.statement"
    _description = "Bank Statement"
    problem_description = fields.Text(
        compute='_compute_problem_description',
    )
    @api.depends('is_valid', 'is_complete')
    def _compute_problem_description(self):
            for stmt in self:
                        description = None
                        if not stmt.is_valid:
                            description = _("The starting balance doesn't match the ending balance of the previous statement, or an earlier statement is missing.")
                        elif not stmt.is_complete:
                            description = _("The running balance (%s) doesn't match the specified ending balance.", formatLang(self.env, stmt.balance_end, currency_obj=stmt.currency_id))
                        stmt.problem_description = description
<|endoftext|>