** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/684119

Title:
  [6.RC2] Account chart wizard does not check if generated account code for 
bank journal exsits

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  [6.RC2] Account chart wizard does not check if generated account code for 
bank journal exsits.
So It may append that this piece of code :


 #create the account_account for this bank journal
             tmp = line.acc_name
             dig = obj_multi.code_digits
             if ref_acc_bank.code:
                 try:
                    new_code = str(int(ref_acc_bank.code.ljust(dig,'0')) + 
current_num)
                 except:
                    new_code = 
str(ref_acc_bank.code.ljust(dig-len(str(current_num)),'0')) + str(current_num)
             vals = {

Generate a account code that does already exists



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

Reply via email to