[TRUNK] Residual Amount is Wrong referenced and wrong calculated.

Bug #715269 reported by Mike
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

Platform Open ERP 6.01 Addon Release 4394. - UK Minimal Accounts
Bug Description: Residual Amount Still Incorrect.
Previous Result: Not adding Up (Just displayed last line entry)
Previous fix: Add + so its now += ( Result[invoice.id]+= m.amount_residual_currency.) inside invoice.py
New Result: Tax Added On Twice.

Example -> Fresh Database with demo data.
New Invoice for a 3xPC1 and OVAT R. Upon validation result is:
Untaxed: 1350.00
Tax 67.50
Total 1417.50
Residual 1485.00.

Residual is 1417.50 + 67.50 (AKA tax added on twice). Residual should just be 1417.50.

Related branches

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Note: a complete YAML test will be needed before this can be considered solved!

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Hello.

The correct version you are using is trunk.

Download the stable source, it is working fine, it is a regression but in trunk not in 6.0.1 the correct version is 6.1.

The problem is a combined problem between calc of accoun move and residual.....

Regards.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → High
milestone: none → 6.1
summary: - Residual Amount Still Wrong
+ [TRUNK] Residual Amount Still Wrong
summary: - [TRUNK] Residual Amount Still Wrong
+ [TRUNK] Residual Amount is Wrong referenced and wrong calculated.
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

for download stable 6.0.1 version

Branch is lp:openobject-addons/6.0

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: High → Medium
milestone: 6.1 → none
Revision history for this message
Mike (mike-smart-ltd) wrote :

[QUOTE]for download stable 6.0.1 version
Branch is lp:openobject-addons/6.0[/QUOTE]

I'm not sure if i understand, your saying it works in 6.0.1?

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

May be its problem of wrong type set on Input VAT and Output VAT Accounts defined on taxes.

Revision history for this message
Meera Trambadia (OpenERP) (mtr-openerp) wrote :

Hello Mike,

Its fixed in https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-dev-addons3-mtr1 branch.
Revision ID: mtr@mtr-20110209094922-6fa3ozq12mmtvhro
Revision no: 4746

Thanks
mtr

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Mike,

We have corrected the accounts of vat. Can you please check ?

thanks,
mra

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Mike (mike-smart-ltd) wrote :

Its fixed, excellent : )
Thanks

Revision history for this message
Claire (cjin) wrote :

how to fix the problem?

Revision history for this message
Marco Dieckhoff (dieck) wrote :

We still, or maybe again... encounter this problem, in 6.0

openobject-addons
revno: 4879

openobject-server
revno: 3523

And to the "fix":

https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-dev-addons3-mtr1/+merge/49597/+preview-diff/+files/preview.diff

Can you please point of, why this fixes the problem?
As far as I can see, it only renames the type field LABEL, inlcuding the translations, but I see no functional improvements?

Revision history for this message
Marco Dieckhoff (dieck) wrote :

We requested a fix for this bug on our maintenance contract.
Here is the answer from OpenERP Support Team.
Thanks!

Tax amount is calculated twice is due to the internal type Receivable in account of "Invoice Tax Account" in Tax configuration.

This issue is fixed in following branch:
Branch : lp:~openerp-dev/openobject-addons/6.0-opw-572592-ado with
Revision-id : <email address hidden> and
Revision-no : 5127

Soon our experts will review and merge this with main stable addons.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.