Mixed Invoices of Different Currencies in Customer/Supplier Payment

Bug #887483 reported by Ian Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP Publisher's Warranty Team

Bug Description

With a fresh installation of OpenERP server 6.0.3 with demo data, we have such a schema:
 - Use Chinese Chart of Account.
 - Two companies: delete the two shops and created a new one, both use CNY(¥) as currency.
 - Created a new Account by duplicate the existing Deposit and make the first company as it´s parent and set the Secondary Currency to EUR(€)
 - Again duplicate the Deposit Journal and set it´s Currency to EUR(€) and set it´s both Default Debit Account and Default Credit Account to the former Account.

So now we can receive customer payment in both CNY(¥) and EUR(€).

The following steps will reproduce our situation:
 1. Create 2 Customer Invoices: one in CNY and another in EUR with customer, say Aglroit, and validate both.
 2. In Customer Invoices → Customer Payment, those two Voucher Entries will be displayed, then click New to create a new one.
 3. Select the corresponding Customer, those invoices will be displayed below with balances an amounts.

As you can see, invoices with different Currencies are displayed together, although the Original Amount and Open Balance are converted to the same currency depending on the Payment Method you chosen(either CNY or EUR), but the Amount makes no sense. We think, the invoices listed should be filtered with the same currency of Payment Method we chosen.

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Ian Li,

Thanks for posting the issue.

We have applied your patch in https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-32041-pso
rev-no: 4937
rev-id: <email address hidden>

Branch is under review and it will be merged soon with Stable branch.

Thanks,
Priyesh

Changed in openobject-addons:
status: In Progress → Fix Committed
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.