← Back to team overview

openerp-india team mailing list archive

[Bug 925360] Re: [Trunk] Impossible to Validate invoice once set Secondary Currency on account!!!

 

Hello Purnendu,

This is not bug but I think you might have a misunderstand something.
You have faced this problem because your company currency and secondary currency are same

Let me explain the use for secondary currency.
We have assigned a secondary currency for account when we have to create a all move with this currency for this particular account. Then it will only allow moves for this currency(secondary) .

When we have create invoice then by default it takes our company
currency also creates a moves with the company currency. So our
secondary currency must be different then our company because If we want
to creates a invoice from our comapny currency then no need to define
secondary currency.

If we define our secondary currency same as our comapny currency then it doesn't make sense ;-).
So would you please change your company currency rather then EUR(as per your scenario) then try.

I have attached video for your more better understanding, So would you please check it.
Correct me If I am wrong.

Note: Secondary currency of account and company currency must be
different then and then only it will becoming useful..;-).

Thanks for understanding!

** Changed in: openobject-addons
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-addons/+question/187071

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

Title:
  [Trunk] Impossible to Validate invoice once set Secondary Currency on
  account!!!

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Hello,

  Steps to produce the bug:

  1) Set secondary currency on "Debtors " Account as EUR.
  2) Now try to create a customer invoice with same currency EUR.
  3) Try to validate it.
  4) You will always get a constraint "The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal."

  I checked the constraint _check_currency on account_move_line and find
  that if there is any secondary currency set on account then it will
  always return false.

  It should allow to validate the invoice in case of same currency set
  on invoice and account!!

  Thanks,
  Purnendu Singh

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


References