Help

0

how to add custom filter to Contracts list

Avatar
Daniel Holden

I am using Odoo 8.


I have added the field remaining_total to the account.analytic.account view, but I would like to know how to filter by that field.


I would like to see only contracts that have been fully invoiced, so I used:

<filter name="fully invoiced" string="fully invoiced" domain="[('remaining_total','=',0)]" help="fully invoiced"/>


But that has no apparent effect when I apply the filter.


What might I be doing wrong?

2 注释
头像
丢弃
Avatar
Boubaker Abdallah
-

Can you provide us with the code?

Avatar
Akhil P Sivan
-

Your filter seems to be correct, but whether "remaining_total" is a compute field?