I will classify the bug in higher priority as it make crash number of
localization

Regards

Nicolas

-- 
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/684116

Title:
  [V6.RC2] Account chart wizard generation does not accept an tax with only one 
collected account 

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  Account chart wizard generation does not accept an tax with only one 
collected account.
The code logic error is self explanatory,  this little patch do the trick.

Regards

Nicolas

             if value['account_collected_id'] or value['account_paid_id']:
                 obj_acc_tax.write(cr, uid, [key], {
-                    'account_collected_id': 
acc_template_ref[value['account_collected_id']],
-                    'account_paid_id': 
acc_template_ref[value['account_paid_id']],
+                    'account_collected_id': 
acc_template_ref.get(value['account_collected_id'], False),
+                    'account_paid_id': 
acc_template_ref.get(value['account_paid_id'], False),
                 })



_______________________________________________
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