Skip to Content
Menu
This question has been flagged
1 Reply
2009 Views

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
Discard
Best Answer

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
Discard