[FIX] product: Persistant order on product variant
[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

hip-odoo/odoo,ygol/odoo,bplancher/odoo,storm-computers/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,laslabs/odoo,laslabs/odoo,bplancher/odoo,storm-computers/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,bplancher/odoo,dfang/odoo,ygol/odoo,laslabs/odoo,storm-computers/odoo,dfang/odoo,bplancher/odoo,ygol/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,bplancher/odoo,ygol/odoo,laslabs/odoo,hip-odoo/odoo,bplancher/odoo,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,dfang/odoo,laslabs/odoo,ygol/odoo,ygol/odoo