Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
16714 Vizualizări

Hi Guys,

i'm wondering how to add "system" filter (not saved in used defaults, not Settings->Technical->User defined) into view, for example i'd like to add my own filter in product variants filtered by internal reference field and set it as default.

will really appreciate any help, thanks.

Imagine profil
Abandonează
Autor

thanks, but exactly not Add to Favorites but to Filters drop down menu (first left)
unfortunately cannot attach picture because of low karma(

Cel mai bun răspuns

You need to extend the Search View, something like this:

This image has an empty alt attribute; its file name is search-view-1.jpg

<data>
  <xpath expr="//filter[@name='inactive']" position="after">
    <filter domain="[['default_code','ilike','blue']]" name="Blue filter" string="New filter"/>
  </xpath>
</data>





odootricks.tips/adding-filters

To make it the default, use context on the Windows Action, something like this 


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Not sure what exactly you are looking for. Still see this example, suppose if you need to filter product with ID = 10 , you can just use the filter from the search view and filter it.



As in the above image, you can see i have filtered the record with id as 10 .  Now if i need to set this filter, click on Add to Favorites , if you need to specify some name, enter it the box and click Save. And if you want to use this by default, tick the check box, Use By Default .


Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 20
3704
2
apr. 24
4921
1
oct. 22
4205
1
apr. 22
1836
1
aug. 21
11196