How to Create a Popup in Odoo POS 17 - Odoo 17 Slides
CelineGeorge1
282 views
15 slides
Aug 01, 2024
Slide 1 of 15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.
Size: 1.3 MB
Language: en
Added: Aug 01, 2024
Slides: 15 pages
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