Odoo Help

6
0
Ibrahim
On 5/4/18, 7:01 AM

I've never tried but i think it's not possible to do it directly from odoo studio. You'll need to update your field in python to add the attribute compute and declare your compute function
When you add a field via Odoo studio, it creates a xml file and put records in ir.model.fields that creates the field in postgresql

0
Ray Carnes
On 5/4/18, 10:14 AM

Open the FIELD record that has been created, and defined the COMPUTE METHOD at the very bottom:


About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/10/17, 6:15 AM
Seen: 1278 times
Last updated: 5/4/18, 10:14 AM