Friends,
I have a tree view displaying some file numbers.
File number starts with different sequences..
Can i filter it with a specific sequence(Using Code)..
Thanks...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Friends,
I have a tree view displaying some file numbers.
File number starts with different sequences..
Can i filter it with a specific sequence(Using Code)..
Thanks...
Hi,
You try this
<filter string="file numbers" domain="[('file_no','=','your_required_value')]"/>
for example:
<filter string="file numbers" domain="[('file_no','=',25)]"/> means, you will get all the value if file_no=25 only
In xml view you can define a doamin for the following ways:
staring with "te":
<filter string="Valid" icon="terp-personal" domain="[('name','=like','te%%')]" />
ending with "te" :
<filter string="Valid" icon="terp-personal" domain="[('name','=like','%%te')]" />
contains "te":
<filter string="Valid" icon="terp-personal" domain="[('name','like','te%%')]"