Divyesh Makwana(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-923884-mdi into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #923884 in OpenERP Addons: "COA Creation wizard hangs up"
  https://bugs.launchpad.net/openobject-addons/+bug/923884

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-923884-mdi/+merge/91217

Hello Sir,

I have fix the issue: https://bugs.launchpad.net/openobject-addons/+bug/923884 
"COA Creation wizard hangs up".

Thanks and Regards,

Divyesh Makwana(MDI)
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-923884-mdi/+merge/91217
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-923884-mdi.
=== modified file 'account/account.py'
--- account/account.py	2012-01-31 13:36:57 +0000
+++ account/account.py	2012-02-02 08:58:33 +0000
@@ -3358,7 +3358,7 @@
         # 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)
+            journal_code = _('BNK')[:3] + str(current_num + journal_count)
             ids = obj_journal.search(cr, uid, [('code', '=', journal_code), ('company_id', '=', company_id)], context=context)
             if not ids:
                 break

_______________________________________________
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