← Back to team overview

openerp-india team mailing list archive

[Bug 1238023] [NEW] BUG: The system allows deleting all currency rates per currency

 

Public bug reported:

Hi all,

When you delete all currency exchange rates for a particular currency,
the system reports an error message:

          "No currency rate associated for currency 187 for the given
period"


where 187 is the ID of the currency.

The system expects at least one currency exchange line to exist, yet it
allows deleting all of them.

This is a HUGE bug as it somehow block the users from validating
invoices regardless whether the offending currency is used in them or
not. Moreover, the users are blocked with the same error message from
opening the offending currency record, and adding new exchange rate.

What the system should do is to either stop users from deleting all ex-
rates thus leaving at least one, or allowing them to delete all rates
but then pop up a meaningful message that will give clear instructions
that they need to open this or that currency record and add rate.

Regards,
Danijel

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1238023

Title:
  BUG: The system allows deleting all currency rates per currency

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi all,

  When you delete all currency exchange rates for a particular currency,
  the system reports an error message:

            "No currency rate associated for currency 187 for the given
  period"

  
  where 187 is the ID of the currency.

  The system expects at least one currency exchange line to exist, yet
  it allows deleting all of them.

  This is a HUGE bug as it somehow block the users from validating
  invoices regardless whether the offending currency is used in them or
  not. Moreover, the users are blocked with the same error message from
  opening the offending currency record, and adding new exchange rate.

  What the system should do is to either stop users from deleting all
  ex-rates thus leaving at least one, or allowing them to delete all
  rates but then pop up a meaningful message that will give clear
  instructions that they need to open this or that currency record and
  add rate.

  Regards,
  Danijel

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


Follow ups

References