08.02.26
This commit is contained in:
@@ -129,11 +129,11 @@ class MtmStrategy(ModelSQL, ModelView):
|
|||||||
('matrix', '=', comp.price_matrix.id),
|
('matrix', '=', comp.price_matrix.id),
|
||||||
]
|
]
|
||||||
|
|
||||||
if self.purchase_line:
|
# if self.purchase_line:
|
||||||
domain += [
|
# domain += [
|
||||||
('origin', '=', self.purchase_line.from_location),
|
# ('origin', '=', self.purchase_line.from_location),
|
||||||
('destination', '=', self.purchase_line.to_location),
|
# ('destination', '=', self.purchase_line.to_location),
|
||||||
]
|
# ]
|
||||||
|
|
||||||
lines = MatrixLine.search(domain)
|
lines = MatrixLine.search(domain)
|
||||||
if lines:
|
if lines:
|
||||||
|
|||||||
Reference in New Issue
Block a user