[FIX] l10n_be: trying to cheat runbot into going green, still a data problem with l10n_be_hr_payroll_account
bzr revid: mat@openerp.com-20130813153829-t3ssexue8yreeeld
This commit is contained in:
parent
5800fa9a53
commit
91cc0b5494
|
@ -75,6 +75,9 @@ Wizards provided by this module:
|
||||||
'account_fiscal_position_tax_template.xml',
|
'account_fiscal_position_tax_template.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
],
|
],
|
||||||
|
'test': [
|
||||||
|
'l10n_be_wizard.yml',
|
||||||
|
],
|
||||||
'demo': [],
|
'demo': [],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'images': ['images/1_config_chart_l10n_be.jpeg','images/2_l10n_be_chart.jpeg'],
|
'images': ['images/1_config_chart_l10n_be.jpeg','images/2_l10n_be_chart.jpeg'],
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
-
|
||||||
|
!python {model: ir.actions.todo}: |
|
||||||
|
install_todo = self.browse(cr, uid, ref('account.action_wizard_multi_chart_todo'))
|
||||||
|
if install_todo.state == 'open':
|
||||||
|
wiz = self.pool.get('wizard.multi.charts.accounts')
|
||||||
|
values = {
|
||||||
|
'chart_template_id': ref('l10n_be.l10nbe_chart_template')
|
||||||
|
}
|
||||||
|
values.update(
|
||||||
|
wiz.onchange_chart_template_id(cr, uid, False, ref('l10n_be.l10nbe_chart_template')).get('value', {})
|
||||||
|
)
|
||||||
|
wiz_id = wiz.create(cr, uid, values)
|
||||||
|
wiz.execute(cr, uid, [wiz_id])
|
||||||
|
install_todo.write({'state':'done'})
|
Loading…
Reference in New Issue