Ajay Chauhan(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1045842-cha into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1045842 in OpenERP Addons: "[trunk] impossible to configure l10n_ch"
  https://bugs.launchpad.net/openobject-addons/+bug/1045842

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1045842-cha/+merge/124135

Hello,

   I have solved the issue of unable to configure swiss chart.

Thanks,
Ajay Chauhan
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1045842-cha/+merge/124135
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1045842-cha.
=== modified file 'l10n_ch/account_wizard.py'
--- l10n_ch/account_wizard.py	2011-12-19 16:54:40 +0000
+++ l10n_ch/account_wizard.py	2012-09-13 09:08:22 +0000
@@ -36,8 +36,9 @@
     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()

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to