Migration to python-sql

review1001002
This commit is contained in:
Cédric Krier committed 2013-09-06 22:34:36 +02:00
1 parent 6b382bfc9a
commit b2012b2237
6 files changed
+121 -69

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ Create chart of accounts::
>>> AccountTemplate = Model.get('account.account.template')
>>> Account = Model.get('account.account')
>>> 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