Description:
In Odoo, sometimes we may require special types of fields having values calculated from other fields. We may require calculated values from the same records or in the related records. One of the common examples for the usage of such fields is calculating the total amount that is calculated by multiplying the unit price of the product with quantity. So instead of reading a database stored value, we can also calculate the values for the fields by a function in Odoo. In Odoo models, we can achieve this by the use of computed fields. In this video, we are discussing How to define compute fields and compute functions in odoo15 and its use cases in odoo development.