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