def METHOD_NAME(self):
    super().METHOD_NAME()
    self.company = self.env.ref("base.main_company")
    self.currency = self.company.currency_id
    self.cash_journal = self.env["account.journal"].search(
        [("type", "=", "cash"), ("company_id", "=", self.company.id)], limit=1
    )
    self.bank_journal = self.env["account.journal"].search(
        [("type", "=", "bank"), ("company_id", "=", self.company.id)], limit=1
    )
    self.cash_unit_note = self.env["cash.unit"].search(
        [("currency_id", "=", self.currency.id), ("cash_type", "=", "note")],
        limit=1,
    )
    self.cash_unit_coinroll = self.env["cash.unit"].search(
        [("currency_id", "=", self.currency.id), ("cash_type", "=", "coinroll")],
        limit=1,
    )
    self.all_cash_units = self.env["cash.unit"].search(
        [("currency_id", "=", self.currency.id)]
    )
    self.date = date.today()
    self.yesterday = date.today() - timedelta(days=1)
    self.deposit_seq = self.env["ir.sequence"].search(
        [("code", "=", "account.cash.deposit")]
    )
    self.order_seq = self.env["ir.sequence"].search(
        [("code", "=", "account.cash.order")]
    )