changeset 2669f91fe626 in modules/account_statement_rule:default
details: 
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset&node=2669f91fe626
description:
        Fill reference field for statement line relation

        issue6854
diffstat:

 account.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1d05309ba806 -r 2669f91fe626 account.py
--- a/account.py        Thu Feb 03 23:13:26 2022 +0100
+++ b/account.py        Wed Feb 23 09:19:37 2022 +0100
@@ -370,7 +370,7 @@
         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):

Reply via email to