def METHOD_NAME(self) -> None:
    # pylint: disable=cyclic-import
    from bauiv1lib.settings.advanced import AdvancedSettingsWindow
    plus = bui.app.plus
    assert plus is not None
    bui.containerwidget(
        edit=self._root_widget, transition=self._transition_out
    )
    if not self._modal:
        assert bui.app.classic is not None
        bui.app.ui_v1.set_main_menu_window(
            AdvancedSettingsWindow(transition='in_left').get_root_widget()
        )
    plus.add_v1_account_transaction(
        {
            'type': 'PROMO_CODE',
            'expire_time': time.time() + 5,
            'code': bui.textwidget(query=self._text_field),
        }
    )
    plus.run_v1_account_transactions()