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

I'm using Odoo 13.0+e Versión Enterprise

I have a duration field (type float) in a work order that indicate the time during the order. If this time is equal to my float_time (00:02) appear this new field. This is possible? Dont working for me

I hope an answer, TY for all

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

When a float time field is created this will be a field of type float.If you look at the value saved in the database this will be a floating value but in the interface this will be shown like float time value.This is because of the widget used.

Hence instead of checking the condition float_time = 00:02 you should give the float value corresponding to 00:02 that is float_time = 0.03.This will give you the expected outcome.

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 22
3010
2
ธ.ค. 23
12692
3
ก.ค. 22
23043
2
มิ.ย. 21
18483
0
ก.ย. 20
3707