[IMP] order by sequence in attribute

This commit is contained in:
David Beal
2016-03-25 12:37:33 +01:00
parent 9ad2d0f7e1
commit c62a163f93

View File

@@ -2,10 +2,15 @@
# © 2016 David BEAL @ Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields, api
from openerp import models, api
from lxml import etree
class ProductAtribute(models.Model):
_inherit = 'product.attribute'
_order = 'sequence ASC'
class ProductAttributeValue(models.Model):
_inherit = 'product.attribute.value'