Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5275 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 25
1612
1
เม.ย. 25
1220
one2one relational field แก้ไขแล้ว
3
ก.ย. 24
14074
2
ก.ย. 24
1510
2
ก.พ. 24
2395