Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2190 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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'),
            });
อวตาร
ละทิ้ง