SlideShare a Scribd company logo
How to Extend Pos payment validation to enhance functionality in Odoo 17
Enterprise
Introduction
Enterprise
Point of Sale (POS) systems streamline transactions, and Odoo's
POS module provides a robust solution for retailers. As
businesses grow, they may need additional functionality to
meet specific requirements.
In Odoo 17, extending the POS payment validation process
allows businesses to add custom rules, such as credit limit
checks, payment method validation, or integration with loyalty
programs and e-wallets, for a more tailored experience.
Steps
Enterprise
First let us add in a few custom settings to enhance the
payment validation process as our example .
First add a boolean field to enable our custom settings and
another float field to set limit on our pos transaction in
‘pos.config’ model .
Steps
Enterprise
Steps
Enterprise
Now let us add two settings in the ‘res.config.settings’
model with same field name and make them both related
field based upon pos_config_id field so that we can have
separate settings for each pos session .
Steps
Enterprise
Steps
Enterprise
Now let us add the settings to the form view of
res_config_settings .
Enterprise
Steps
Enterprise
This is how it looks like in settings
Enterprise
Steps
Enterprise
Now let us patch the validation function which is in the
payment_screen.js file in the pos addon module by
patching the PaymentScreen OWL component .
Steps
Enterprise
We have to import Payment Screen component and the
patch function to override the existing validateorder
function so that we can enhance odoo 17 pos validate
functionality by adding in our custom functionality .
Enterprise
Steps
Enterprise
As you can see in the previous slide we are checking if our
custom setting is enabled and if it is we are also checking
if its limit is lower than the amount we paid. We can use
the get_total_paid() function to get total paid. If these
conditions are met then we throw in an error popup
saying that it exceeds the transaction limit .
Steps
Enterprise
Now let us set a payment transaction limit in the settings
using our custom fields we just added before .
Enterprise
Steps
Enterprise
Now let us try to validate a pos payment transaction for
more than our specified limit and see what happens .
Enterprise
Steps
Enterprise
As we can see an error popup comes up whenever we try
to make a payment that exceeds our specified limit.
Conclusion
Enterprise
Extending POS payment validation in Odoo 17 helps
businesses tailor workflows to specific needs,
enhancing efficiency and ensuring policy compliance.
Whether checking credit limits, validating payment
methods, or integrating third-party services, Odoo
offers the flexibility to customize its core functionality,
making your POS system more powerful and suited to
your processes.
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
Ad

More Related Content

Similar to How to Extend Pos payment validation to enhance functionality in Odoo 17 (20)

How to setup the payment terms in Odoo 17 Accounting
How to setup the payment terms in Odoo 17 AccountingHow to setup the payment terms in Odoo 17 Accounting
How to setup the payment terms in Odoo 17 Accounting
Celine George
 
How to Split Bills in Odoo 18 POS - Odoo 18
How to Split Bills in Odoo 18 POS - Odoo 18How to Split Bills in Odoo 18 POS - Odoo 18
How to Split Bills in Odoo 18 POS - Odoo 18
Celine George
 
How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18
Celine George
 
Odoo 12 pos features
Odoo 12 pos featuresOdoo 12 pos features
Odoo 12 pos features
Celine George
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
Celine George
 
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdfStripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Bluebash
 
Cash Rounding in Odoo 17 POS - Odoo 17 Slides
Cash Rounding in Odoo 17 POS - Odoo 17 SlidesCash Rounding in Odoo 17 POS - Odoo 17 Slides
Cash Rounding in Odoo 17 POS - Odoo 17 Slides
Celine George
 
Automatic Invoicing in Odoo 17 - Odoo 17 Slides
Automatic Invoicing in Odoo 17 - Odoo 17 SlidesAutomatic Invoicing in Odoo 17 - Odoo 17 Slides
Automatic Invoicing in Odoo 17 - Odoo 17 Slides
Celine George
 
New Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POSNew Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POS
Celine George
 
How to Manage E-Commerce Product Shipping in odoo 17 Website
How to Manage E-Commerce Product Shipping in odoo 17 WebsiteHow to Manage E-Commerce Product Shipping in odoo 17 Website
How to Manage E-Commerce Product Shipping in odoo 17 Website
Celine George
 
How to Add Custom Fields to Configuration Settings in Odoo 17
How to Add Custom Fields to Configuration Settings in Odoo 17How to Add Custom Fields to Configuration Settings in Odoo 17
How to Add Custom Fields to Configuration Settings in Odoo 17
Celine George
 
How to configure the retail shop in Odoo 17 Point of Sale
How to configure the retail shop in Odoo 17 Point of SaleHow to configure the retail shop in Odoo 17 Point of Sale
How to configure the retail shop in Odoo 17 Point of Sale
Celine George
 
How to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POSHow to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POS
Celine George
 
Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17
Celine George
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
Celine George
 
Dreamforce Web Portals
Dreamforce Web PortalsDreamforce Web Portals
Dreamforce Web Portals
gokubi
 
How to Identify the Margin from the Sales Orders using Odoo 17
How to Identify the Margin from the Sales Orders using Odoo 17How to Identify the Margin from the Sales Orders using Odoo 17
How to Identify the Margin from the Sales Orders using Odoo 17
Celine George
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Lucidworks
 
The 10 most reliable pos solution providers 2021(3) compressed
The 10 most reliable pos solution providers  2021(3) compressedThe 10 most reliable pos solution providers  2021(3) compressed
The 10 most reliable pos solution providers 2021(3) compressed
Insights success media and technology pvt ltd
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
Rajesh Khatri
 
How to setup the payment terms in Odoo 17 Accounting
How to setup the payment terms in Odoo 17 AccountingHow to setup the payment terms in Odoo 17 Accounting
How to setup the payment terms in Odoo 17 Accounting
Celine George
 
How to Split Bills in Odoo 18 POS - Odoo 18
How to Split Bills in Odoo 18 POS - Odoo 18How to Split Bills in Odoo 18 POS - Odoo 18
How to Split Bills in Odoo 18 POS - Odoo 18
Celine George
 
How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18How to Register Payment Against Draft Invoice in Odoo 18
How to Register Payment Against Draft Invoice in Odoo 18
Celine George
 
Odoo 12 pos features
Odoo 12 pos featuresOdoo 12 pos features
Odoo 12 pos features
Celine George
 
How to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRMHow to Create a Stage or a Pipeline in Odoo 17 CRM
How to Create a Stage or a Pipeline in Odoo 17 CRM
Celine George
 
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdfStripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Stripe Connect Integration With Spree Multi-vendor Onboarding.pdf
Bluebash
 
Cash Rounding in Odoo 17 POS - Odoo 17 Slides
Cash Rounding in Odoo 17 POS - Odoo 17 SlidesCash Rounding in Odoo 17 POS - Odoo 17 Slides
Cash Rounding in Odoo 17 POS - Odoo 17 Slides
Celine George
 
Automatic Invoicing in Odoo 17 - Odoo 17 Slides
Automatic Invoicing in Odoo 17 - Odoo 17 SlidesAutomatic Invoicing in Odoo 17 - Odoo 17 Slides
Automatic Invoicing in Odoo 17 - Odoo 17 Slides
Celine George
 
New Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POSNew Employee Login Screen in Odoo 18 POS
New Employee Login Screen in Odoo 18 POS
Celine George
 
How to Manage E-Commerce Product Shipping in odoo 17 Website
How to Manage E-Commerce Product Shipping in odoo 17 WebsiteHow to Manage E-Commerce Product Shipping in odoo 17 Website
How to Manage E-Commerce Product Shipping in odoo 17 Website
Celine George
 
How to Add Custom Fields to Configuration Settings in Odoo 17
How to Add Custom Fields to Configuration Settings in Odoo 17How to Add Custom Fields to Configuration Settings in Odoo 17
How to Add Custom Fields to Configuration Settings in Odoo 17
Celine George
 
How to configure the retail shop in Odoo 17 Point of Sale
How to configure the retail shop in Odoo 17 Point of SaleHow to configure the retail shop in Odoo 17 Point of Sale
How to configure the retail shop in Odoo 17 Point of Sale
Celine George
 
How to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POSHow to Manage Margin & Cost in Odoo 17 POS
How to Manage Margin & Cost in Odoo 17 POS
Celine George
 
Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17Allocation of invoice discounts in Odoo 17
Allocation of invoice discounts in Odoo 17
Celine George
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
Celine George
 
Dreamforce Web Portals
Dreamforce Web PortalsDreamforce Web Portals
Dreamforce Web Portals
gokubi
 
How to Identify the Margin from the Sales Orders using Odoo 17
How to Identify the Margin from the Sales Orders using Odoo 17How to Identify the Margin from the Sales Orders using Odoo 17
How to Identify the Margin from the Sales Orders using Odoo 17
Celine George
 
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, SalesforceImproving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Improving Enterprise Findability: Presented by Jayesh Govindarajan, Salesforce
Lucidworks
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
Rajesh Khatri
 

More from Celine George (20)

How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
How to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale OrderHow to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale Order
Celine George
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18
Celine George
 
How to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 SalesHow to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 Sales
Celine George
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18
Celine George
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
How to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale OrderHow to Change Sequence Number in Odoo 18 Sale Order
How to Change Sequence Number in Odoo 18 Sale Order
Celine George
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
How to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 WebsiteHow to Configure Extra Steps During Checkout in Odoo 18 Website
How to Configure Extra Steps During Checkout in Odoo 18 Website
Celine George
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
How to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 PurchaseHow to Manage Amounts in Local Currency in Odoo 18 Purchase
How to Manage Amounts in Local Currency in Odoo 18 Purchase
Celine George
 
How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18How to Share Accounts Between Companies in Odoo 18
How to Share Accounts Between Companies in Odoo 18
Celine George
 
How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18How to Configure Public Holidays & Mandatory Days in Odoo 18
How to Configure Public Holidays & Mandatory Days in Odoo 18
Celine George
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18How to Configure Scheduled Actions in odoo 18
How to Configure Scheduled Actions in odoo 18
Celine George
 
How to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 SalesHow to Manage Upselling in Odoo 18 Sales
How to Manage Upselling in Odoo 18 Sales
Celine George
 
How to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo SlidesHow to Add Customer Note in Odoo 18 POS - Odoo Slides
How to Add Customer Note in Odoo 18 POS - Odoo Slides
Celine George
 
How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18How to Create A Todo List In Todo of Odoo 18
How to Create A Todo List In Todo of Odoo 18
Celine George
 
Link your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRMLink your Lead Opportunities into Spreadsheet using odoo CRM
Link your Lead Opportunities into Spreadsheet using odoo CRM
Celine George
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
Ad

Recently uploaded (20)

CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdfIPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
Quiz Club of PSG College of Arts & Science
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdfGENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
Quiz Club of PSG College of Arts & Science
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
INDIA QUIZ FOR SCHOOLS | THE QUIZ CLUB OF PSGCAS | AUGUST 2024
Quiz Club of PSG College of Arts & Science
 
The History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.pptThe History of Kashmir Lohar Dynasty NEP.ppt
The History of Kashmir Lohar Dynasty NEP.ppt
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
E-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26ASE-Filing_of_Income_Tax.pptx and concept of form 26AS
E-Filing_of_Income_Tax.pptx and concept of form 26AS
Abinash Palangdar
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
BÀI TẬP BỔ TRỢ TIẾNG ANH 9 THEO ĐƠN VỊ BÀI HỌC - GLOBAL SUCCESS - CẢ NĂM (TỪ...
Nguyen Thanh Tu Collection
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
Ad

How to Extend Pos payment validation to enhance functionality in Odoo 17

  • 1. How to Extend Pos payment validation to enhance functionality in Odoo 17 Enterprise
  • 2. Introduction Enterprise Point of Sale (POS) systems streamline transactions, and Odoo's POS module provides a robust solution for retailers. As businesses grow, they may need additional functionality to meet specific requirements. In Odoo 17, extending the POS payment validation process allows businesses to add custom rules, such as credit limit checks, payment method validation, or integration with loyalty programs and e-wallets, for a more tailored experience.
  • 3. Steps Enterprise First let us add in a few custom settings to enhance the payment validation process as our example . First add a boolean field to enable our custom settings and another float field to set limit on our pos transaction in ‘pos.config’ model .
  • 5. Steps Enterprise Now let us add two settings in the ‘res.config.settings’ model with same field name and make them both related field based upon pos_config_id field so that we can have separate settings for each pos session .
  • 7. Steps Enterprise Now let us add the settings to the form view of res_config_settings .
  • 9. Steps Enterprise This is how it looks like in settings
  • 11. Steps Enterprise Now let us patch the validation function which is in the payment_screen.js file in the pos addon module by patching the PaymentScreen OWL component .
  • 12. Steps Enterprise We have to import Payment Screen component and the patch function to override the existing validateorder function so that we can enhance odoo 17 pos validate functionality by adding in our custom functionality .
  • 14. Steps Enterprise As you can see in the previous slide we are checking if our custom setting is enabled and if it is we are also checking if its limit is lower than the amount we paid. We can use the get_total_paid() function to get total paid. If these conditions are met then we throw in an error popup saying that it exceeds the transaction limit .
  • 15. Steps Enterprise Now let us set a payment transaction limit in the settings using our custom fields we just added before .
  • 17. Steps Enterprise Now let us try to validate a pos payment transaction for more than our specified limit and see what happens .
  • 19. Steps Enterprise As we can see an error popup comes up whenever we try to make a payment that exceeds our specified limit.
  • 20. Conclusion Enterprise Extending POS payment validation in Odoo 17 helps businesses tailor workflows to specific needs, enhancing efficiency and ensuring policy compliance. Whether checking credit limits, validating payment methods, or integrating third-party services, Odoo offers the flexibility to customize its core functionality, making your POS system more powerful and suited to your processes.
  • 21. 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
  翻译: