Hello Nicolas,

Its fixed in Addons3 branch.

Rev-id: m...@mra-laptop-20101209060711-9boquxhnex02psm3
Rev-no: 4728

Thanks for reporting.


** Changed in: openobject-addons
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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