How can I prevent a textarea popup in the POS screen from reappearing when switching screens in Odoo 17?
0
How can I prevent a textarea popup in the POS screen from reappearing when switching screens in Odoo 17?
1 Answer
0
Best Answer
Solution: I added a textarea popup in the POS screen, but the popup constantly shows even when I change the screen.
Tricks :
patch(ProductListPage.prototype, {
setup() {
super.setup();
if (document.querySelector(".textarearestrict")) {
}
},
});
I use this line to restrict the popup from showing in another screen