Fill reference field for statement line relation

issue6854
This commit is contained in:
Cédric Krier committed 2022-02-23 09:19:37 +01:00
1 parent a2cd8c3885
commit 7fddaafcba
1 file changed
+1 -1
+1 -1
View File
@@ -370,7 +370,7 @@ class StatementRuleLine(sequence_ordered(), ModelSQL, ModelView):
line.date = origin.date
line.party = party
line.account = account
line.invoice = invoice
line.related_to = invoice
return line
def _get_party(self, origin, keywords):