changeset e7482418e723 in modules/account_tax_cash:default
details:
https://hg.tryton.org/modules/account_tax_cash?cmd=changeset;node=e7482418e723
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_account_tax_cash_period_close.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4a1a37016ffa -r e7482418e723
tests/scenario_account_tax_cash_period_close.rst
--- a/tests/scenario_account_tax_cash_period_close.rst Fri Aug 09 16:34:59
2019 +0200
+++ b/tests/scenario_account_tax_cash_period_close.rst Sat Sep 07 23:38:20
2019 +0200
@@ -85,7 +85,7 @@
>>> journal_cash, = Journal.find([('type', '=', 'cash')])
>>> move = Move()
>>> move.period = period
- >>> move.data = period.start_date
+ >>> move.date = period.start_date
>>> move.journal = journal_cash
>>> line = move.lines.new()
>>> line.account = account_cash