mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Update product.py
This commit is contained in:
committed by
GitHub
parent
9526db300e
commit
c433bfdf17
@@ -32,7 +32,7 @@ class ProductProduct(models.Model):
|
||||
domain +=\
|
||||
[('categ_id', 'child_of', category_id.id),
|
||||
('id', '!=', self._context.get('nonequivalent_product_id'))]
|
||||
order = order or self.priority
|
||||
order = order or self.product_tmpl_id.priority
|
||||
return super(ProductProduct, self).search_read(domain=domain,
|
||||
fields=fields,
|
||||
offset=offset,
|
||||
|
||||
Reference in New Issue
Block a user