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

Dear All, 

I would want to sum a column in a tree view but only the rows with a specific 'status':
Is there a way to use domains to select which lines will be summed?

Something like:  

<field name="amount" attrs="{'sum': [('status','=','ontime')]}"/>

Best regards

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

Hi sir,

Had you get lucky with your code?

I'm traying too. Thanks,

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
how to sum two fields แก้ไขแล้ว
5
ก.ค. 19
10714
0
เม.ย. 23
2972
0
พ.ค. 15
4479
2
มี.ค. 15
3761
2
ก.ย. 24
2405