Computed Fields and @api Depends on Odoo 15 | Odoo 15 Development Tutorials

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



Category:
Tutorial
Duration: 5:34
1,904 views
14


In this video, it discusses compute function and how to store value in a field using this functionality and @api.depends operation.

Odoo provides compute function which helps to calculate from some other fields. It is just like any other regular field along with an additional argument compute.

Video Contents
0:00 Introduction
0:36 Field declaring
1:41 Defining @api.depends operation
2:51 Define Compute function and compute the value
4:09 Adding field into XML files of view
4:31 Updating in UI

Which can be stored directly and retrieved directly from a database, and the api operation @api.depends helps to compute the value based on the change in the depends field.




Other Videos By Cybrosys Technologies


2022-01-28How to Define Kanban View in Odoo15 | Advanced Views | Odoo 15 Development Tutorials
2022-01-28How to Define a Gantt View in Odoo15 | Advanced Views | Odoo 15 Development Tutorials
2022-01-27How to Define a Graph View in Odoo15 | Advanced Views | Odoo 15 Development Tutorials
2022-01-27How to Define a Search View in Odoo15 | Advanced Views in Odoo | Odoo 15 Development Tutorials
2022-01-27How to Define a Pivot View in Odoo15 | Advanced Views | Odoo 15 Development Tutorials
2022-01-27Tree View Decoration Attribute in Odoo 15 | Advanced Views | Odoo 15 Development Tutorials
2022-01-27How to Use Constraint and SQL Constraint? | Model Constraints & SQL Constraints in Odoo 15
2022-01-26How to Update Client Interface 'on change' @api.onchange Odoo 15 | Odoo 15 onchange Method
2022-01-24How to Set Default Values to Fields in Odoo 15 | Odoo 15 Development Tutorials
2022-01-24View Inheritance in Odoo 15 | Inheritance in Odoo | Odoo 15 Development Tutorials
2022-01-24Computed Fields and @api Depends on Odoo 15 | Odoo 15 Development Tutorials
2022-01-24How to Define a Calendar View in Odoo15 | Advanced Views in Odoo 15 | Calendar View in Odoo15
2022-01-23Odoo 15 Time Off Management | Odoo 15 Time Off Module | Odoo 15 Enterprise Edition
2022-01-21Delegation Inheritance in Odoo 15 | Inherits in Odoo | Odoo 15 Development Tutorials
2022-01-21Traditional Prototype Inheritance in Odoo 15 | Inheritance in Odoo | Odoo 15 Development Tutorials
2022-01-21Traditional Class Inheritance in Odoo 15 - Inheritance | Odoo 15 Development Videos
2022-01-21How to Define Many2many Field in Odoo 15 | Relations Between Odoo Models | Odoo 15 Development Video
2022-01-21How to Define One2Many Field in Odoo 15 | Relations Between Odoo Models | Odoo 15 Development Videos
2022-01-21How to Create Data Files and Load Data in Odoo 15 | Data Files in Odoo 15
2022-01-21How to Define Many2one Field in Odoo 15 | Relations Between Odoo Models | Odoo 15 Development Videos
2022-01-21Basic Views in Odoo 15 | Odoo 15 Development Tutorials



Tags:
@api.depe
api depends odoo
odoo tutorial
odoo 15 development tutorial
computed fields in odoo
fields in odoo
odoo fields_get
odoo api depends
how to create depends field in odoo
depends
depends decorator in odoo
odoo decorator depends example
warnings on customers odoo 14
warnings on customers odoo
odoo9
odoo8
rapid
onchange data based on condition in odoo
odoo api.depends
@api.depends
trigger function based on field value
api.depends
on hand quantity