From 231b73322268231eab80b03578a11e3fe0d98ab7 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 8 Feb 2026 22:06:19 +0100 Subject: [PATCH] 08.02.26 --- modules/purchase_trade/pricing.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: