i have two fields 
Gasoil Ma : x_studio_gasoil_ma
Gasoil Eu : x_studio_gasoil_eu
i want to creat a new field Gasoil Total In order to bring the two together
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
i have two fields 
Gasoil Ma : x_studio_gasoil_ma
Gasoil Eu : x_studio_gasoil_eu
i want to creat a new field Gasoil Total In order to bring the two together
Hi,
Refer to the documentation, it shows how to calculate two fields in Odoo16
https://www.odoo.com/documentation/16.0/developer/tutorials/getting_started/09_compute_onchange.html
Hope it helps 
Hi,
You can add a computed field using the studio or from the user interface and add the above field as dependency and compyte the value into it.
See:  How To Add Compute Field From User Interface In Odoo
* Open fields from fields menu in debug mode
* Make the field as computed

Thanks
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|  | 3 Mei 25  | 2953 | ||
|  | 1 Apr 25  | 2135 | ||
| 
            
                one2one relational field
            
            
                    Diselesaikan
            
         |  | 3 Sep 24  | 15638 | |
|  | 2 Sep 24  | 2249 | ||
|  | 2 Feb 24  | 3163 |