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