← Back to team overview

credativ team mailing list archive

[Bug 887483] Re: Mixed Invoices of Different Currencies in Customer/Supplier Payment

 

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: pso@xxxxxxxxxxx-20111130121235-ydlhkg8zccy7jvxq

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

Thanks,
Priyesh

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/887483

Title:
  Mixed Invoices of Different Currencies in Customer/Supplier Payment

Status in OpenERP Addons (modules):
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/887483/+subscriptions