Example #1
0
    def __init__(self):
        self.controller = ControllerAdmin(self)
        self.es_modulo_web = True
        self.web_template = "admin"

        Modulo.__init__(self)
        levantar_locales()

        self._vaciar_impresora()
        self.ret_code = MODULO_ADMIN  # Esto hace que salga del gtk_main()
        self.mesa_abierta = sesion.apertura is not None or not \
            REALIZAR_APERTURA
        self.modo_mantenimiento = False
        self.boton_mantenimiento = False

        self.rampa = RampaAdmin(self)