changeset b06417848a34 in modules/analytic_account:default
details:
https://hg.tryton.org/modules/analytic_account?cmd=changeset;node=b06417848a34
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_analytic_account.rst | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 867d67a2cc16 -r b06417848a34 tests/scenario_analytic_account.rst
--- a/tests/scenario_analytic_account.rst Fri Aug 09 16:35:07 2019 +0200
+++ b/tests/scenario_analytic_account.rst Sat Sep 07 23:38:20 2019 +0200
@@ -83,8 +83,6 @@
>>> line.account = revenue
>>> line.credit = Decimal(42)
>>> analytic_line = line.analytic_lines.new()
- >>> analytic_line.journal = journal_revenue
- >>> analytic_line.name = 'Analytic Line'
>>> analytic_line.credit = line.credit
>>> analytic_line.account = analytic_account
>>> line = move.lines.new()