def METHOD_NAME(self):
    """The Account Code is hidden
    when `hide_accounts_codes` is enabled.
    """
    # Arrange
    invoice = self.posted_invoice
    account = invoice.invoice_line_ids.account_id
    # pre-condition: An Invoice is posted
    self.assertEqual(invoice.state, "posted")
    # Act: Print the Report containing the Invoice,
    # enabling `hide_accounts_codes`
    one_day = timedelta(days=1)
    report_content = self._get_report_content(
        {
            "financial_statements_report_type": "profit_loss",
            "hide_accounts_codes": True,
            "date_from": invoice.invoice_date - one_day,
            "date_to": invoice.invoice_date + one_day,
        }
    )
    # Assert: The Account Code is hidden
    self.assertNotIn(account.code, report_content)
    self.assertIn(account.name, report_content)