main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 231b733222 - Show all commits

View File

@@ -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: