2 I run the Close a Fiscalyear wizard to close the demo fiscalyear
4 !record {model: account.fiscalyear.close.state, id: account_fiscalyear_close_state_0}:
7 I clicked on Close States Button to close fiscalyear
10 !python {model: account.fiscalyear.close.state}: |
11 self.data_save(cr, uid, [ref("account_fiscalyear_close_state_0")], {"lang": 'en_US',
12 "active_model": "ir.ui.menu", "active_ids": [ref("account.menu_wizard_fy_close_state")],
13 "tz": False, "active_id": ref("account.menu_wizard_fy_close_state"), })
15 I check that the fiscalyear state is now "Done"
17 !assert {model: account.fiscalyear, id: data_fiscalyear, string: Fiscal Year is in Done state}: