[FIX] l10n_ch: solved the issue of unable to configure swiss chart
lp bug: https://launchpad.net/bugs/1045842 fixed bzr revid: cha@tinyerp.com-20120913090117-whym4hu1q4w23p2m
This commit is contained in:
@@ -36,8 +36,9 @@ class WizardMultiChartsAccounts(osv.osv_memory):
|
||||
def execute(self, cr, uid, ids, context=None):
|
||||
"""Override of code in order to be able to link journal with account in XML"""
|
||||
res = super(WizardMultiChartsAccounts, self).execute(cr, uid, ids, context)
|
||||
path = addons.get_module_resource(os.path.join('l10n_ch','sterchi_chart','account_journal_rel.xml'))
|
||||
path = addons.get_module_resource('l10n_ch','sterchi_chart','account_journal_rel.xml')
|
||||
tools.convert_xml_import(cr, 'l10n_ch', path, idref=None, mode='init', noupdate=True, report=None)
|
||||
res.update({'type': 'ir.actions.act_window_close'})
|
||||
return res
|
||||
|
||||
WizardMultiChartsAccounts()
|
||||
|
||||
Reference in New Issue
Block a user