Commits

Raimon Esteve (Zikzakmedia) committed ebc9941

Attribute Value search method: params names

  • Participants
  • Parent commits 09865de
  • Branches 2.9

Comments (0)

Files changed (1)

             ondelete='CASCADE', required=True)
 
     @classmethod
-    def search(cls, domain, offset=0, limit=None, order=None, count=False):
+    def search(cls, args, offset=0, limit=None, order=None, count=False,
+            query=False):
         '''Order attributes value by sequence'''
-        res = super(ProductAttributeValue, cls).search(domain, offset=offset,
-                limit=limit, order=order, count=count)
+        res = super(ProductAttributeValue, cls).search(args, offset, limit,
+            order, count, query)
         obs = [(ob.value.attribute.sequence, ob.id) for ob in res]
         obs.sort()
         res = [cls(i[1]) for i in obs]