Use all categories for matching lines
issue6881 review42771002
This commit is contained in:
1 parent
3f32aa8c73
commit
b72180bea7
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ class PriceList(ModelSQL, ModelView):
|
||||
|
||||
pattern = pattern.copy()
|
||||
if product:
|
||||
pattern['categories'] = [c.id for c in product.categories]
|
||||
pattern['categories'] = [c.id for c in product.categories_all]
|
||||
pattern['product'] = product.id
|
||||
pattern['quantity'] = Uom.compute_qty(uom, quantity,
|
||||
product.default_uom, round=False) if product else quantity
|
||||
|
||||
Reference in new issue
Block a user