Create next fiscal year using renew wizard in budget scenario
Since 4510115eabf7, fiscal year from scenario are centered around the date. So using the next day after the last day of the previous fiscal year, creates an overlap. Closes #12002
This commit is contained in:
@@ -35,9 +35,10 @@ Create a fiscal year::
|
||||
>>> fiscalyear = create_fiscalyear(company)
|
||||
>>> fiscalyear.click('create_period')
|
||||
>>> period = fiscalyear.periods[0]
|
||||
>>> next_fiscalyear = create_fiscalyear(
|
||||
... company, fiscalyear.end_date + dt.timedelta(days=1))
|
||||
>>> next_fiscalyear.click('create_period')
|
||||
|
||||
>>> renew_fiscalyear = Wizard('account.fiscalyear.renew')
|
||||
>>> renew_fiscalyear.execute('create_')
|
||||
>>> next_fiscalyear, = renew_fiscalyear.actions[0]
|
||||
|
||||
Create a chart of accounts::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user