** Changed in: openobject-addons
     Assignee: (unassigned) => DHS(OpenERP) (dhs-openerp)

-- 
[stab] tax code parent sum bug 
https://bugs.launchpad.net/bugs/659006
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
OpenERP 5.0.14 - Critical for those using more than 2 levels of tax codes (like 
in Poland) for tax declaration.

When you have more than 2 levels of tax codes the root tax code is wrongly 
calculated by function in tree view.
Create tax codes:
RegisterA1
SUMRegisterA   - parent of RegisterA1
TotalSUM  - parent of SUMRegisterA

Let say you have a value 20 in RegisterA1. On list view of tax codes for period 
or for year you will have:

RegisterA1 - 20 (value)
SUMRegisterA - 20 (sum of RegisterA1 - correct)
TotalSUM - 40 (sum of SUMRegisterA - incorrect)

Because of nature of bug the values in form view are correct.

I enclose a patch proposal for this. By the way: Where can I find which diff 
options should I use as standard for OpenERP commitment?



_______________________________________________
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