This question has been flagged
1 Reply
5356 Views

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

Avatar
Discard
Best Answer

Hi sir,

Had you get lucky with your code?

I'm traying too. Thanks,

Avatar
Discard