Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5285 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 25
1621
1
thg 4 25
1227
3
thg 9 24
14084
2
thg 9 24
1520
2
thg 2 24
2410