This question has been flagged
6 Replies
4807 Views

Hi folks,

I'm completely new to Odoo, but it's really fun playing around :)

There are a couple of things I'm missing (maybe I'm overlooking it), but in the first place I'd like to have some extra custom / default product options. Ie. why isn't there a default Brand / Manufacturer field available? For a good overview it would also be nice to have the brand-logo somewhere (as an image). Also other attributes would be very handy to search / filter on. 

In our case we're selling washing machines and driers. What if a customer isn't necessary interested in a specific brand, but just need a washing machine that can hold 8KG of volume. In that case it would be very easy to find a suitable product in seconds (in stock).

I'm really no developer, so I can't build a custom app myself, but maybe someone can :)

Thank you very much for thinking with me!

Avatar
Discard

Thanks Ermin! I tried that already, but can't figure out where to filter / search for attributes.

Let's say I create a brand named AEG and assign it to one of my products, how do I search on AEG, so that I only see the products with that attribute? And of course how many in stock ...

It's Community Edition v10 btw (tried to edit the post title, but get a 403 error)

In the backoffice you can define custom filters (see the search bar in the upper right of the screen), you can save such filters as favorites for yourself or for all users. In the webshop you can implement filters using the "Customize" menu again in the upper right menu.

Best Answer

Hello Ermin,

I'm very interested to have an App name that allow to add extra attributes on products.

I did not find one in the app store.


Thank you very much

Pascal

Avatar
Discard
Author Best Answer

Great Mahmou! That's an awsome function! This makes me really happy :)

But .. now I have an extra field called Brand and contains a couple of manufacturers.
Is there a simple way (for a client) to add more options to the field? ie an extra manufacturer.

And now the main problem is still there.. I can't / don't know how to search on these values. I just like to filter out the stock with specifying the brand name and only the products with that brand should show up. In this case he finds nothing :P

Avatar
Discard
Best Answer

You can add custom fields and filter on without a heavy experience with development.

Odoo provide a great mechanism allows you create new fields and views.


  • Go to Settings -> Database Structure -> Models -> Search for (product.template) 

  • Open the model

  • Add an item as shown here: https://s30.postimg.org/ywjz9b46p/Screenshot_from_2017_01_09_11_22_23.png

  • Fill the field information as showen here : https://s27.postimg.org/qb19g9umb/Screenshot_from_2017_01_09_11_26_06.png

  • Fill selection option with this value: 

  • [('5','5 KG'),('8','8 KG'), ('10','10 KG')]

What have we done?

  1. Create a new field in Product model with type Selection

  2. We put our options in the fields (8KG, 5KG)

You have too many field types you can read about these types here

https://www.odoo.com/documentation/8.0/reference/orm.html#fields

In your case now (e.g Weight: 8KG) the appropriate type is Selection

Click Save. And then Save the model


Finally you have to edit form view to show the new field.

  • Activate developer mode (Go to Settings -> Activate Developer mode) https://s27.postimg.org/vbppy2nxv/Screenshot_from_2017_01_09_11_38_02.png

  • Open Inventory -> Product -> Open any product

  • Open Developer tool and select Edit Form View https://s30.postimg.org/r5igpgnq9/Screenshot_from_2017_01_09_11_39_52.png

  • Add your field name (x_product_size) to the form view as shown here: https://s24.postimg.org/lon2wvr6t/Screenshot_from_2017_01_09_11_42_25.png


  • <field name="x_product_size" />

The final result will be like this

https://s24.postimg.org/u886843h1/Screenshot_from_2017_01_09_12_07_05.png


You can filter on this field like this:

https://s27.postimg.org/4vd7ujbir/Screenshot_from_2017_01_09_12_10_06.png

Avatar
Discard
Best Answer

Products can have attributes and variants based on multiple values of attributes. In the webshop you can activate filtering features for attributes. A brand can also be defined as an attribute or as a category. In addition there are several apps available in the app store to manage brands and additional product information such as manufacturer information etc.

Avatar
Discard