Skip to Content
Menu
This question has been flagged

Hello,


I would like to create something for Products that would be similar to Attributes but it would allow numerical values (or even free text) and if possible, with Unit of Measure. The idea is I would like to be able to have a table like this for each Product:

NameValueUoM
Electrical power13,2kW
Electrical connection220V
Water connection0,5

in

The values in the first column should be centrally managed, they would have UoM (third column) assigned (or even better Category of UoM). The second column (value) would be arbitrary - any value user choses only limited by type (int, float, text).


The idea is that we have many different types of Products in our catalogue and we need to keep different sets of attributes for them. The number of Products is currently 260 000 and will be growing. So I do not see a very good design in creating every possible attribute and just hide them with individual Product Categories.

In the end we would like to publish these to website and allow searching according to them ;-)


Can anyone help with design or give pointer to some module that would be doing something like this?

Avatar
Discard
Author

Pedro,

this is almost exactly what I am looking for! The idea in the description matches my usecase. The minor thing is no UoM (not that important) and being 12.0 version only (I will attempt to port it ot 13.0). Many, many thanx for pointing me this direction!

Best Answer

You can use these OCA modules for designing dynamic information templates in the product:

https://odoo-community.org/shop/product/base-custom-info-595

https://odoo-community.org/shop/product/product-custom-info-1924

The idea of this is to have a collection of info description/value couples. This doesn't include UoM handling, and the idea is to have as info description the text "Electrical power (kW)", and put 13,2 in the value. If you need to handle different units, you can develop an extension module `uom_custom_info` for adding that value and handling units conversions.

What it hasn't been yet developed are convenient ways to explode/analyze this information, as for now there's no funding for that features. Other idea in the roadmap is to try sparse fields or other mechanism for getting native widgets depending on the info type.

Avatar
Discard
Related Posts Replies Views Activity
1
Feb 22
1789
1
Aug 21
2221
1
Nov 19
3279
2
Mar 16
5683
2
Sep 22
10146