Przejdź do zawartości
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Sztuczna inteligencja
    • IoT
    • VoIP
    • Wiedza
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Filtering by Attribute Value removed in catalog in Odoo 19

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
developmentsales
3 Odpowiedzi
1732 Widoki
Awatar
BobInc, Chuck Mako

In odoo 18 in the backend product catalog, you could filter by Attribute Values in the SearchPanel:

                <searchpanel>
                    <field name="categ_id"
                           string="Product Category"
                           icon="fa-th-list"/>
                    <field name="product_template_attribute_value_ids"
                           string="Attributes"
                           icon="fa-th-list"
                           domain="[('ptav_active', '=', True), ('product_tmpl_id.active', '=', True)]"
                           enable_counters="1"
                           select="multi"/>
                </searchpanel>


But in odoo 19 I see that the PTAV was replaced by Tags:

                <searchpanel>
                    <field name="categ_id"
                           string="Categories"
                           icon="fa-th-list"/>
                    <field name="product_tag_ids"
                           string="Tags"
                           icon="fa-th-list"
                           enable_counters="1"
                           select="multi"/>
                </searchpanel>

Is there any reason for this change? I want to still be able to filter by ptav like color etc

0
Awatar
Odrzuć
Codesphere Tech

Hello,
Are you talking about catalog view open from sales order?

faOtools

This tool - https://apps.odoo.com/apps/modules/19.0/product_management - might also be helpful for those who are searching for an advanced tool to filter by attributes. Among others, it lets you display products that have a particular attribute or attribute value; search for attributes themselves; and mass update product attributes and values.

Awatar
CandidRoot Solutions
Najlepsza odpowiedź

Hello Chuck,

You are spot on, this is a deliberate change in the v19 codebase (and recent v18 updates).

Odoo replaced the specific attribute filtering (product_template_attribute_value_ids) with Tags in the catalog view mainly for performance. In databases with complex variants (like apparel with Color/Size/Fabric), loading that attribute list in the sidebar was causing significant slowdowns. Tags are much lighter to query.

However, for many use cases, filtering by specific attributes is mandatory. You can easily add it back by extending the search view.

The Fix (XML): You can use an xpath to insert the field back into the search panel. This snippet restores the v18 behavior:

XML

<record id="view_product_catalog_search_restore_attributes" model="ir.ui.view">
    <field name="name">product.catalog.search.restore.attributes</field>
    <field name="model">product.product</field>
    <field name="inherit_id" ref="product.product_view_search_catalog"/>
    <field name="arch" type="xml">
        <xpath expr="//searchpanel/field[@name='product_tag_ids']" position="before">
            <field name="product_template_attribute_value_ids"
                   string="Attributes"
                   icon="fa-th-list"
                   enable_counters="1"
                   select="multi"
                   domain="[('ptav_active', '=', True), ('product_tmpl_id.active', '=', True)]"/>
        </xpath>
    </field>
</record>

If you are using Odoo Studio:

  1. Open the Product Catalog.

  2. Toggle Studio and click on the Search View (usually on the left sidebar options).

  3. Find "Product Template Attribute Values" in the field list and drag it back into the Search Panel area.

So to answer your question: Yes, there is a reason (performance), but you can safely revert it if your catalog isn't massive.

Hope this helps!

If this helped, kindly upvote.

Best Regards,
,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209

Email: info@candidroot.com
Web: https://www.candidroot.com

2
Awatar
Odrzuć
BobInc, Chuck Mako
Autor

Thank you!

Awatar
Hristo Chankov
Najlepsza odpowiedź

Dear @Vimal - how you have done this?

P.S. I can believe that ODOO removed this. I am very disappointed. One of the reason to choose ODOO was that can categorize products in catalog and use something like faceted search. Have no idea how other user, with thousands of products, can use it and find right product.

0
Awatar
Odrzuć
Awatar
Vimal bhimani
Najlepsza odpowiedź

in v19 i created search panel with variant ,  inside attribute OR and between 2 attribute AND logic ,can filter very fast  
email me ,I can share module , vimal_bhimani2000@yahoo.com

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to Print Shipping Labels Automatically Without Using IoT? Rozwiązane
development configuration sales
Awatar
Awatar
Awatar
2
mar 26
1089
Restrict pricelist visibility per user in Odoo? (best practice?) Rozwiązane
development configuration sales
Awatar
Awatar
2
sty 26
1483
Upselling subscription discounts the recurring price
development sales service
Awatar
0
lis 25
1125
Comment utiliser stock.piking
development stock sales
Awatar
0
mar 25
1956
Why Total Discount Sum Stopped Working Suddenly?
development sales odoo16features
Awatar
0
lip 23
3347
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now