Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2164 Vistas

Hello. How i can call an existing popup in odoo 9 pos? Example select_user popup?

In the 8 version is: self.pos.pos_widget.screen_selector.show_popup('popup_example'), but i don't know how can make this in 9 version.

Avatar
Descartar
Mejor respuesta

You may try like this:

self.gui.show_popup('error',{
                title :_t('Could Not Read Image'),
                body  :_t('The provided file could not be read due to an unknown error'),
            });
Avatar
Descartar