From 8a809d1180ff6bb0843d21dfdbb13887c45032ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 7 Sep 2019 23:38:20 +0200 Subject: [PATCH] Prevent assign unknown attributes on Model by adding __slots__ on proteus classes. issue6573 review254081002 --- tests/scenario_account_tax_cash_period_close.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario_account_tax_cash_period_close.rst b/tests/scenario_account_tax_cash_period_close.rst index e787eaa87a..5575d8e6bb 100644 --- a/tests/scenario_account_tax_cash_period_close.rst +++ b/tests/scenario_account_tax_cash_period_close.rst @@ -85,7 +85,7 @@ Receive cash:: >>> 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