Sum of invoice incorrect in multicurrency

Bug #1232033 reported by Vincent Renaville@camptocamp
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Hello,

We have the following error in multicurrency with invoice

Create a fresh database with a user with Multicurrency write and the module account installed

1 - Create a company with EUR as company currency.
2 - Create a customer invoice in EUR for a total amount of 1000 €
3 - Create a customer invoice in CHF for a total amount of 1000 CHF
4- List the invoice into the tree view, you will see that the sum of the column Total is wrong.
     it display 2000 € , instead of 1833 € (1000 CHF at the current rate -> 833 €)

Could you please correct it.

Vincent

Tags: maintenance
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Piero Zucchelli (piero-zucchelli-l) wrote :

I see the same problem, it's indeed of major importance

Revision history for this message
Vincent Renaville@camptocamp (vrenaville-c2c) wrote :

[Response from the support on the OPW]

It does not seems a bug, the total amount is not displayed according to particular currency, currently total comes as sum of all amount, It is the job of the Web-Client to display the total by making sum of the field where sum attribute is defined, so Web-Client doesn't have to concern with currency, it simply do the sum of all values, also your record in list view shows 2500$ if you Sale for 2500$ even though the price of USD dollar is 0.80000.
Sale and Purchase is always displayed in the amount whatever your sale or purchase, the currency conversion comes into picture when you are dealing with parties i.e. any accounting transactions, like when you create an invoice(Customer or Supplier) then you can explicitly defined your currency of transaction.
Hope this will clears the picture that amount is displayed in quantity of transaction, it is not converted until and unless it comes to accounting transactions like Payment.
If you are activating multi-currency then it doesn't mean that whatever amount you purchase it is converted to your company currency instead it is displayed as it is(which is desired behavior that value of amount should not be converted immediately in form view of Sale according to company currency) and hence Web-Client do the sum of amount listed.

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.