From 7fddaafcba9d818c649cce702bbf1171e84bc412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 23 Feb 2022 09:19:37 +0100 Subject: [PATCH] Fill reference field for statement line relation issue6854 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index d636a6e96b..70aa418806 100644 --- a/account.py +++ b/account.py @@ -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):