[MERGE] [ADD] l10n_be: l10n_be inherits from l10n_multilang, remove yml for automatic...
[odoo/odoo.git] /
1 -
2   !python {model: ir.actions.todo}: |
3     install_todo = self.browse(cr, uid, ref('account.action_wizard_multi_chart_todo'))
4     if install_todo.state == 'open':
5         wiz = self.pool.get('wizard.multi.charts.accounts')
6         values = {
7             'chart_template_id': ref('l10n_be.l10nbe_chart_template')
8         }
9         values.update(
10             wiz.onchange_chart_template_id(cr, uid, False, ref('l10n_be.l10nbe_chart_template')).get('value', {})
11         )
12         wiz_id = wiz.create(cr, uid, values)
13         wiz.execute(cr, uid, [wiz_id])
14         install_todo.write({'state':'done'})