SlideShare a Scribd company logo
9
Most read
12
Most read
18
Most read
How to Render Dynamic Data
using RPC call in Odoo 17 POS
Enterprise
Introduction
Enterprise
In this slide we will discuss how to render dynamic data using RPC
call in Odoo 17 POS. We can render dynamic data within the Point
of Sale (POS) system using Remote Procedure Call (RPC) calls. RPC
calls enable seamless communication between the frontend and
backend, allowing us to display real-time and dynamic information
to enhance the user experience.
Enterprise
In the POS module, we can add a button and when clicked on
that, a popup should be opened which include the dynamic data
using the rpc call.
Enterprise
For that we can create a module as the structure shown below.
Enterprise
For creating a popup we can use the following code in the js file.
Enterprise
We can create the template for the popup in the xml file like
below.
Enterprise
Enterprise
We can import all the required one for adding the control button
and we can also import the CustomAlertPopup we created now.
Enterprise
We can add a button in the POS Component and we can define a
function to show dynamic content using the rpc call on clicking
on that button. For that we require a controller also.
Enterprise
After fetching the values for active languages, we can push the
values to the list.
Enterprise
Finally, we need to add this component to the product screen like
below.
Enterprise
After that, in the xml we can define the template for this button.
Enterprise
Before finishing, we need to define a controller for the route we
used in the rpc call.
Enterprise
Finally we need to add this js and xml files in the manifest file of
the module.
Enterprise
If we go to the languages from translations in general settings,
we can see the active languages.
Enterprise
Then in the pos we can open a session and click on the Custom
Popup button.
Enterprise
This will open a popup listing the active languages.
Enterprise
We can go back to languages again and enable more languages.
Enterprise
After that in the POS session, if we click on the Custom Popup
button again, we can see the languages we enabled now are
added to the popup. This is how we render dynamic data using
rpc call in odoo 17 POS.
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

More Related Content

PPTX
How to Implement OWL Notification Service in Odoo 18
PPTX
Tracking Profit Margins in Sales Orders with Odoo 18
PPTX
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18
PPTX
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
PPTX
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
PPTX
How to Add New Applicants in Odoo 18 Recruitment
PPTX
How to Analyze the Recruitment Process in Odoo 18 Recruitment
PPTX
How to Manage Referral Reporting in Odoo 18 Referrals
How to Implement OWL Notification Service in Odoo 18
Tracking Profit Margins in Sales Orders with Odoo 18
How to Configure Outgoing Shipment in 3 Steps Using Odoo 18
How to Configure Outgoing Shipment in 1 Step Using Odoo 18.pptx
How to Configure Outgoing Shipment in 2 Steps Using Odoo 18
How to Add New Applicants in Odoo 18 Recruitment
How to Analyze the Recruitment Process in Odoo 18 Recruitment
How to Manage Referral Reporting in Odoo 18 Referrals

More from Celine George (20)

PPTX
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
How to Manage Starshipit in Odoo 18 - Odoo Slides
PPTX
How to Manage Bill Control Policy in Odoo 18
PPTX
How to Manage Loyalty Points in Odoo 18 Sales
PPTX
Odoo 18 Sales_ Managing Quotation Validity
PPTX
How to Manage Global Discount in Odoo 18 POS
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
PPTX
How to Apply for a Job From Odoo 18 Website
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
PPTX
How to Manage Resupply Subcontracting in Odoo 18
PPTX
Qweb Templates and Operations in Odoo 18
PPTX
Room booking management - Meeting Room In Odoo 17
PPTX
Folding Off Hours in Gantt View in Odoo 18.2
PPTX
How to Consolidate Subscription Billing in Odoo 18 Sales
How to Set, Track, & Review Employee Goals in Odoo 18 Appraisals
Revamp in MTO Odoo 18 Inventory - Odoo Slides
How to Manage Starshipit in Odoo 18 - Odoo Slides
How to Manage Bill Control Policy in Odoo 18
How to Manage Loyalty Points in Odoo 18 Sales
Odoo 18 Sales_ Managing Quotation Validity
How to Manage Global Discount in Odoo 18 POS
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Tips Management in Odoo 18 POS - Odoo Slides
How to Close Subscription in Odoo 18 - Odoo Slides
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
How to Track Skills & Contracts Using Odoo 18 Employee
How to Apply for a Job From Odoo 18 Website
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Continental Accounting in Odoo 18 - Odoo Slides
How to Manage Resupply Subcontracting in Odoo 18
Qweb Templates and Operations in Odoo 18
Room booking management - Meeting Room In Odoo 17
Folding Off Hours in Gantt View in Odoo 18.2
How to Consolidate Subscription Billing in Odoo 18 Sales
Ad

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Complications of Minimal Access Surgery at WLH
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Insiders guide to clinical Medicine.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Pharma ospi slides which help in ospi learning
Pre independence Education in Inndia.pdf
Cell Types and Its function , kingdom of life
TR - Agricultural Crops Production NC III.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Complications of Minimal Access Surgery at WLH
Sports Quiz easy sports quiz sports quiz
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Anesthesia in Laparoscopic Surgery in India
VCE English Exam - Section C Student Revision Booklet
Renaissance Architecture: A Journey from Faith to Humanism
Supply Chain Operations Speaking Notes -ICLT Program
Insiders guide to clinical Medicine.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pharma ospi slides which help in ospi learning
Ad

How to Render Dynamic Data using RPC call in Odoo 17 POS