summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-12-14 11:15:56 +0100
committerGoffin Simon <sig@odoo.com>2016-12-14 11:53:34 +0100
commit169b396c3f330bb62797fa5a4aeb715175c345c6 (patch)
treed4c46b8e6195466e5efa7455073ee40dda2f0b14 /setup/setup_dev.py
parent2d0ff8afa4a6c7e79500459cd3260920cb47809f (diff)
[FIX] product: Persistant order on product variant
The order of variants(product.product) is (re)defined each time the attributes of a product.template are modified. The order of these variants is computed according to the order defined on "product.product" which is ordered by 'default_code,name_template' and also the sequence of the product.attribute.value. But when a new product.attribute is created, the default sequence is the order of creation of your new values. So if the sequence of the attributes is changed after modifying the product.template, the new sequence will not have any impact on the order of the variants. The sequence of the attributes must be defined first before modifying the attributes on a product.template to have an impact on it. opw:693135
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions