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

CelineGeorge1 282 views 15 slides Aug 01, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

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.


Slide Content

How to Create a Popup in Odoo POS Enterprise

Introduction Enterpr ise 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