跳至內容
選單
此問題已被標幟
2 回覆
5271 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
5月 25
1596
1
4月 25
1210
3
9月 24
14059
2
9月 24
1498
2
2月 24
2389