BUG: The system allows deleting all currency rates per currency

Bug #1238023 reported by Danijel Ilievski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 3

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

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
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.