account: force account.invoice.tax recalculation when different currency used

Bug #1198840 reported by Normunds (Alistek)
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Affects all versions.

Requirements :
Any invoice with other currency than company.

Problem description:

In certain circumstances leads to significant differences in tax reports and accounting entries because of currency rate floats between dates in companies with international trade operations.

Steps to reproduce:
Company currency EUR
Currency rates must exist for test dates.

1. Create supplier invoice in USD. (note invoice create date! ), leave in draft state.
2. After 3 days confirm invoice.

Results:
account.invoice.tax values are different from corresponding accounting entries, what is wrong.

Cause:
Difference arise from currency rate changes between invoice creation date and invoice confirmation date or changing invoice date while not recomputing taxes.

account.invoice.tax is not recalculated while changing invoice state (values are calculated from invoice creation date's currency rate), but account.move.lines company currency values are calculated from invoice confirmation date's currency rate (if date not set) or invoice date's currency rate.

Solution:
Invoice write function should perform additional cheks, and if necessary recompute account.invoice.tax according to specific correct date.

Normunds
Alistek ltd

Tags: invoicing
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Normunds,

"Update" button is already there, So before confirming the invoice you can re-compute the taxes by "Update" button.
So it will re-calculate the taxes.

If you want automatic re-calculation of taxed on validate button, you can call the update taxes method on validate invoice.

Currently I am considering this as a improvement.

Thank you!

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Normunds (Alistek) (3pm) wrote :

Hello Amit!

" you can re-compute the taxes by "Update" button."

Yes I can. But users no not do. In fact they ALWAYS do not recompute.
So it can be considered design/ usability flaw rather than Wishlist.

How we can call this "imporvement" if that behaviour ALWAYS leads to inconsistency of accounting and tax entries?

"If you want automatic re-calculation of taxed on validate button, you can call the update taxes method on validate invoice."

It is not so straigthtforward, because we did not want always update tax on validate (note manual tax correction ). But we made solution for our local branch.

I will propose to merge in OCB.

Revision history for this message
Amit Parik (amit-parik) wrote :

Hi Normunds,

Thanks for the quick response!

Please put the MP for trunk branch and our core team will also look into this and take the appropriate decision.

Thank you!

Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :

I vote for higher importance of this bug.

tags: added: invoicing
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.