← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 734686] Re: Name of unit of measurements should be unique per category

 

Marco,

Any particular reason you think UoM names should be unique only *per category*? Given that UoMs are like currencies, I would think as their names as being reference "keys", so they should be globally unique, not just within a category.
This would make it even better/easier for external unit conversion.

Or do you have an example where you think using the same UoM name in 2
categories is valid?


PS: I changed status to Confirmed because it does not look like the proposed patch/branch correctly addresses this issue.

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/734686

Title:
  Name of unit of measurements should be unique per category

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  You can add two Unit of Measurements named "kg" (with the same, or
  even more severe: with different ratios), in the same category.

  To avoid confusion and inconsistent data, the name of the unit should
  be unique (per category).

  This is, among other usages, quite neccessary for external unit
  conversion e.g. programs contacting OpenERP via xmlrpc.


References