Migration to python-sql
review1001002
This commit is contained in:
1 parent
0e89f304a2
commit
bd19d6901c
1 file changed
+1
-1
@@ -89,7 +89,7 @@ Create chart of accounts::
|
||||
>>> AccountTemplate = Model.get('account.account.template')
|
||||
>>> Account = Model.get('account.account')
|
||||
>>> AccountJournal = Model.get('account.journal')
|
||||
>>> account_template, = AccountTemplate.find([('parent', '=', False)])
|
||||
>>> account_template, = AccountTemplate.find([('parent', '=', None)])
|
||||
>>> create_chart = Wizard('account.create_chart')
|
||||
>>> create_chart.execute('account')
|
||||
>>> create_chart.form.account_template = account_template
|
||||
|
||||
Reference in new issue
Block a user