diff --git a/modules/purchase_trade/pricing.py b/modules/purchase_trade/pricing.py index 375565c..c0fb8f8 100755 --- a/modules/purchase_trade/pricing.py +++ b/modules/purchase_trade/pricing.py @@ -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: