Odoo Help

0
1
Avatar

Ermin Trevisan

--Ermin Trevisan--
8633
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 3/13/18, 9:45 AM

Use the corresponding attribute type (empty or "hidden") depending on your Odoo version.


odoo 11

stefano
on 3/13/18, 9:46 AM

Check it yourself, it is obvious.

Ermin Trevisan
on 3/13/18, 9:50 AM

how can i hidden attribute?

stefano
on 3/13/18, 9:51 AM

As I said, by selecting the corresponding attribute type for the attribute you want to hide.

Ermin Trevisan
on 3/13/18, 9:56 AM

I did not understand where to do this thing

stefano
on 3/13/18, 10:00 AM

Go to "Sales/Configuration/Attributes".

Ermin Trevisan
on 3/13/18, 10:04 AM

aa ok easy but it give the description without values, there is a method to hide also the description?

stefano
on 3/13/18, 10:11 AM

I didn't know about that option, nice !

Xavier Brochard
on 3/13/18, 3:22 PM

but if i'll do this Use the corresponding attribute type (empty or "hidden") depending on your Odoo version. odoo hide attribute also in the product not only in the search

stefano
on 3/15/18, 1:08 PM
0
Xavier Brochard
On 3/13/18, 9:12 AM

You need to hack the emplate website_sale.products_attributes (in website_sale addon). Curently the template contain a  t-foreach="attributes" loop. This should be change to select wanted attributes only.

thank you very much for the answer, but could you explain the procedure to me?

stefano
on 3/13/18, 9:46 AM
0
Avatar

Hilar AK

--Hilar AK--
--Hilar AK--
  Blog:-
        https://hilarlive.wordpress.com/
  StackOverflow:
        http://stackoverflow.com/users/7561347/burmese-pythis

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Experienced Odoo developer, Functional Consultant. Happy to help in the development and also functional consultation.



Hilar AK
On 3/14/18, 2:44 AM

Make condition to fetch attributes as

<t t-foreach="attributes" t-as="a">
<li t-if="a.value_ids and len(a.value_ids) &gt; 1 and not a.name in ['size', 'color']" >
....



About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/13/18, 7:29 AM
Seen: 543 times
Last updated: 3/15/18, 1:07 PM