odoo/addons/website_sale/controllers
Christophe Matthieu d3c562d4e8 [FIX] product: keep attribute on a variant with only one attribute
When adding informational attribute, with only one possible value, it used to be skipped.
Instead keep it and add it on every variant.

To avoid dropping and recreating product (and lose eventual customisations), the attributes with only one possible value are set on every product.
This makes sure that in following test, these are not considered in variants_inactive variable.

Fixes #3204
2014-11-26 14:35:08 +01:00
..
__init__.py [IMP] website_sale: clean code and fix for website_event 2013-11-27 12:16:58 +01:00
main.py [FIX] product: keep attribute on a variant with only one attribute 2014-11-26 14:35:08 +01:00