← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 659006] Re: [stab] tax code parent sum bug

 

Hello,

Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
[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: Won't Fix

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?