Help

0

How to show customers list as a pop up window in PoS screen?

Avatar
Gopakumar N G

I am trying to show the customers list in PoS as a pop-up window. I have added necessary styles to the clientlist-screen screen div for this purpose. But the problem I am facing is the product-screen  div is hidden in the background. Odoo has added a class named oe_hidden to it which prevents it from showing in the background. I have tried the following to show the product-screen div in the click function of the Customer button widget(ActionpadWidget), but none of them is working.

self.gui.show_screen('products');
$(".my-products-div").show(); // added new class to products div and tried show() method
$(".product-screen  ").removeClass("oe_hidden");


Any solution?

Avatar
Negeren