[IMP] order by sequence in attribute
This commit is contained in:
@@ -2,10 +2,15 @@
|
|||||||
# © 2016 David BEAL @ Akretion
|
# © 2016 David BEAL @ Akretion
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# 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
|
from lxml import etree
|
||||||
|
|
||||||
|
|
||||||
|
class ProductAtribute(models.Model):
|
||||||
|
_inherit = 'product.attribute'
|
||||||
|
_order = 'sequence ASC'
|
||||||
|
|
||||||
|
|
||||||
class ProductAttributeValue(models.Model):
|
class ProductAttributeValue(models.Model):
|
||||||
_inherit = 'product.attribute.value'
|
_inherit = 'product.attribute.value'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user