Hello Gustavo Adrian Marino, Thanks for reporting and contribution. The solution for this bug is proposed in the branch : https://code.launchpad.net/~openerp-dev /openobject-addons/trunk-bug-923884-mdi/
with following Revision ID and Number. Revision ID : [email protected] Revision Number : 6468 Thanks and Regards, Divyesh Makwana(MDI) ** Changed in: openobject-addons Status: In Progress => Fix Committed -- You received this bug notification because you are a member of OpenERP Framework Experts, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/923884 Title: COA Creation wizard hangs up Status in OpenERP Addons (modules): Fix Committed Bug description: In v6.1 trunk, when you try to create a COA based on a template, using a locale that translates then name the name of the bank journal to something with len >= 5 (the len of the field code in the journal) (e.g. in spanish from 'BNK' to 'BANCO'), the wizards hangs due to the unbounded loops used to find the next free name (it will be blocked in an endless loop, freezing the client UI) See : === modified file 'account/account.py' --- account/account.py 2012-01-27 16:04:31 +0000 +++ account/account.py 2012-01-30 17:42:15 +0000 @@ -3346,7 +3350,10 @@ # and the next number for account code might have been already used before for journal journal_count = 0 while True: - journal_code = _('BNK') + str(current_num + journal_count) + #NUMA + #journal_code = _('BNK') + str(current_num + journal_count) + journal_code = _('BNK')[:4] + str(current_num + journal_count) + ids = obj_journal.search(cr, uid, [('code', '=', journal_code), ('company_id', '=', company_id)], context=context) if not ids: break To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/923884/+subscriptions -- Mailing list: https://launchpad.net/~credativ Post to : [email protected] Unsubscribe : https://launchpad.net/~credativ More help : https://help.launchpad.net/ListHelp

