Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5256 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mag 25
1583
1
apr 25
1183
3
set 24
14026
2
set 24
1485
2
feb 24
2380