KEMBAR78
How to Create a Popup in Odoo POS 17 - Odoo 17 Slides | PPTX
How to Create a Popup in
Odoo POS
Enterprise
Introduction
Enterprise
In this slide we’ll discuss how to create a custom popup in POS.
We can use a pop-up for various purposes, such as displaying
important messages, collecting additional customer information,
or prompting users for specific actions.
Enterprise
We can create a custom module for this in this structure.
Enterprise
Next, for adding a button we need templates and js file. First,
we can add the xml for the Custom Button in
custom_button.xml file.
Enterprise
Next we can add the js file for this button in custom_button.js
file.
Enterprise
Enterprise
Enterprise
Now the click of the custom button has to be defined. For that,
we define the pop-up window. An xml and js files are required to
create a popup and the js for the popup is defined in the
custom_button_popup.js file.
Enterprise
The template for that pop-up is defined in
custom_button_popup.xml file
Enterprise
Enterprise
Enterprise
After defining all js and xml files, now we can add these files
in manifest file as shown below.
Enterprise
This is our custom button and if we click on it a popup will open.
Enterprise
This is the pop up.
For More Info.
Check our company website for related
blogs and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com

How to Create a Popup in Odoo POS 17 - Odoo 17 Slides