How to fetch data from different fields in different models

How to pool data given the different fields in two different models, do some calculations depending on these field values and display it in another field in third model in the same py file.
Any reference for the code will be a great help.

Use the ModetStorage api, it provides an Object oriented API.

1 Like

How to use this in case of function field. Any reference for the code can be given?