Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2178 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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'),
            });
Ảnh đại diện
Huỷ bỏ