What Is the Use of api.onchange in Odoo15 | @api.onchange Odoo15 | Odoo 15 Development Tutorials

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=GzHhDEsd0QA



Category:
Tutorial
Duration: 3:14
1,759 views
9


Odoo api.onchange decorator is used to invoke a method when a field's value changed. It can be used to validate the data or to trigger an action.

Video Contents
00:15 Introduction
00:45 Define an onchange function

The function of this decorator will be called when the field value changes. Moreover, it supports only single field names; on the contrary, dotted names such as parent_id.field_name will not be considered.

Furthermore, onchange methods are invoked on pseudo-records that contain values of the form. In this video, we are invoking a function to set the country automatically when we set a value in the Nationality field.

Connect With Us:

➡️Website: https://www.cybrosys.com/
➡️Email : info@cybrosys.com
➡️Twitter: https://twitter.com/cybrosys
➡️LinkedIn: https://www.linkedin.com/company/cybrosys/
➡️Facebook: https://www.facebook.com/cybrosystechnologies
➡️Instagram: https://www.instagram.com/cybrosystech/
➡️Pinterest: https://in.pinterest.com/cybrosys/




Other Videos By Cybrosys Technologies


2022-02-22Odoo 15 Advanced Elearning | Best Learning Management System (LMS) | How to Use Odoo LMS
2022-02-21Odoo 15 Sign Module | Odoo 15 Functional Tutorials | What's new in Odoo 15 Sign Module
2022-02-21How to Create Sequence Numbers in Odoo 15 | Odoo 15 Development Tutorials
2022-02-21Odoo 15 Documents | Document Management System | How to Manage Your Documents Using Odoo 15
2022-02-20Odoo 15 Notes Module Features | Odoo 15 Functional Tutorials | How to Create a New Note
2022-02-19Odoo 15 Email Marketing Module | Overview of Odoo 15 Email Marketing | Odoo 15 Functional Videos
2022-02-18What is Rec name in Odoo 15 | How to use it _rec_name | Odoo 15 Development Tutorials
2022-02-18How to Add a Domain for a Field Dynamically Based on Another Field in Odoo15 | Odoo Technical Video
2022-02-18How to Add Chatter in Odoo 15 | Odoo 15 Development Tutorials | Odoo 15 Technical Videos
2022-02-17Difference Between Search and Browse in Odoo 15 | Odoo 15 Development Video| Search & Browse in Odoo
2022-02-17What Is the Use of api.onchange in Odoo15 | @api.onchange Odoo15 | Odoo 15 Development Tutorials
2022-02-17How to Add a Domain for a Field in Odoo15 | Odoo 15 Development Tutorial
2022-02-16How to Duplicate Odoo 15 Database | Odoo 15 Development Tutorials | Odoo 15 Technical Videos
2022-02-16Odoo 15 Data Cleaning Module | Odoo 15 Enterprise Edition | Odoo 15 Functional Tutorials
2022-02-15Odoo 15 Dashboard | Odoo 15 Enterprise Edition | Odoo 15 Functional Tutorials
2022-02-15How to Make Sure One2many Records Are Deleted When the Parent Record Deleted | ondelete ="cascade"
2022-02-15Code Profiling in Odoo 15 | How to Enable Profiling on Odoo 15 `Developer Mode | New Feature
2022-02-14Odoo 15 Calendar Module | Odoo 15 Enterprise Edition | New Features in Odoo 15 Calendar
2022-02-14How to Use Canned Responses in Odoo 15 Live Chat for Instant Answers | Odoo 15 Live Chat
2022-02-14Odoo 15 Rental Module | Odoo 15 Enterprise | Odoo 15 Rental App | Best Rental Management Software
2022-02-13Odoo 15 Attendance Management | Odoo 15 Enterprise Edition | Employees Attendance Management Odoo 15



Tags:
odoo
odoo erp
cybrosys odoo
odoo apps
onchange in odoo15
onchange function in odoo
write onchange function in odoo
api.onchange
onchange functions in odoo
@api.onchange in odoo
define onchange function in odoo
how to create onchange field in odoo
@api.onchange
onchange field in odoo
onchange data based on condition in odoo
odoo14 add message in chatter
new in odoo15
error message handling in odoo14
onchange decorator in odoo
compute field in odoo
odoo training