changeset 90b721e9c9f1 in modules/account_statement_rule:default
details:
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset;node=90b721e9c9f1
description:
Fill number and description on the Line using Origin
Match the behaviour when the Line is manually created.
issue8036
diffstat:
account.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 0ccf252db512 -r 90b721e9c9f1 account.py
--- a/account.py Sat Jan 26 01:10:47 2019 +0100
+++ b/account.py Thu Jan 24 08:23:12 2019 +0100
@@ -339,6 +339,8 @@
line = Line()
line.statement = origin.statement
+ line.number = origin.number
+ line.description = origin.description
line.origin = origin
line.amount = amount
line.date = origin.date