diff options
| author | Anton Chepurov <anton.chepurov@gmail.com> | 2015-02-26 15:39:53 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-03-03 15:40:19 +0100 |
| commit | 47ca07ba19b735de2a9c9a46c81899cafce1c374 (patch) | |
| tree | 0946904dd1c389d55c9cd8d58b7691859c902dc7 /doc/reference | |
| parent | ad4a269554cf77e37ddcbc114bb919f54fb894b1 (diff) | |
[FIX] product: sort attributes before checking existing variants
When generating the list of all needed variants, the attributes are sorted based
on the order in field attribute_line_ids while, when comparing with existing
variants, the order of the attributes on the product.product is the order
on the field attribute_value_ids. As both order could be different (no direct
relation), variants could be wrongly recreated instead of keeping existing one.
Make sure the attribute lists are always sorted.
Fixes #4361
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
