Odoo Technical

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

How can I prevent a textarea popup in the POS screen from reappearing when switching screens in Odoo 17?

Avatar
Nithya

How can I prevent a textarea popup in the POS screen from reappearing when switching screens in Odoo 17?

Avatar
Discard
1 Answer
0
Avatar
Keerthana
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")) {

                             this.dialog.closeAll()

                          }

                     },

});

I use this line to restrict the popup from showing in another screen


Avatar
Discard