2 In order to check the Chart of Accounts wizard I run the wizard with target move set as all
5 !record {model: account.chart, id: account_chart_0}:
8 I clicked on Open chart Button to open the chart
10 !python {model: account.chart}: |
11 self.account_chart_open_window(cr, uid, [ref("account_chart_0")], {"lang": 'en_US',
12 "active_model": "ir.ui.menu", "active_ids": [ref("account.menu_action_account_tree2")],
13 "tz": False, "active_id": ref("account.menu_action_account_tree2"), })
16 I create chart of accounts with target move set as posted
18 !record {model: account.chart, id: account_chart_0}:
21 I clicked on Open chart Button to open the chart
23 !python {model: account.chart}: |
24 self.account_chart_open_window(cr, uid, [ref("account_chart_0")], {"lang": 'en_US',
25 "active_model": "ir.ui.menu", "active_ids": [ref("account.menu_action_account_tree2")],
26 "tz": False, "active_id": ref("account.menu_action_account_tree2"), })
29 # In order to test Account Move Line Wizard I check the move line entries using this wizard
31 # !record {model: account.move.line.select, id: account_move_line_select_0}:
34 # I clicked on Button to open the account move lines
36 # !python {model: account.move.line.select}: |
37 # self.open_window(cr, uid, [ref("account_move_line_select_0")], {"lang": 'en_US',
38 # "state": "all", "tz": False, "active_model": "account.account", "active_ids":
39 # [ref("account.a_recv")], "fiscalyear": 1, "active_id": ref("account.a_recv"),
42 In order to test the Analytic Charts of Account wizard I will generate chart
45 !record {model: account.analytic.chart, id: account_analytic_chart_0}:
46 from_date: !eval "'%s-01-01' %(datetime.now().year)"
47 to_date: !eval "'%s-06-30' %(datetime.now().year)"
49 I clicked on Open chart Button to open the charts
52 !python {model: account.analytic.chart}: |
53 self.analytic_account_chart_open_window(cr, uid, [ref("account_analytic_chart_0")],
54 {"lang": 'en_US', "active_model": "ir.ui.menu", "active_ids": [ref("account.menu_action_analytic_account_tree2")],
55 "tz": False, "active_id": ref("account.menu_action_analytic_account_tree2"),
59 In order to test Account Journal Select wizard I open journal entries using this wizard
61 !record {model: account.journal.select, id: account_journal_select_0}:
64 I clicked on Open Journal Button to open the entries
67 !python {model: account.journal.select}: |
68 self.action_open_window(cr, uid, [ref("account_journal_select_0")], {"lang":
69 'en_US', "active_model": "account.journal.period", "active_ids": [ref("account.a_recv")],
70 "tz": False, "active_id": ref("account.a_recv"), })
72 I check that the entries open successfully