← Back to team overview

openerp-india team mailing list archive

[Bug 894648] Re: Can not change the product's UOM , If once I have save the product

 

Amit,
you are right but you know this is not an easy job,
We need to check record of each and every object which refer to product and/or product UoM which in turn responsible to create stock move, and restrict changing UoM having different category if even a single record found for that object,
this is less accurate and if we miss anything it will be erroneous,

so, even this is to improve for end user's ease, I am not agree to do it for now, 
If you think you want to stick on your suggestion, you can contribute to fix this problem and I will be willing to test and review such a nice improvement,

Thanks for the contribution.

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

Title:
  Can not change the product's UOM , If once I have save the product

Status in OpenERP Addons (modules):
  New

Bug description:
  I have to create a one product with default UOM of "KG" with uom
  category "Weight".

  Steps:
  Create one product and By mistake I have save the record then set a default UOM as a "PCS".

  Now I have to change the default UOM  to "KG"  but it fires a
  constraint .

  "New UoM 'PCE' must belongs to same UoM category 'Weight' as of old
  UoM 'kg'" But I have none of the record belongs to UOM category of
  "Unit".

  Thank you!

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


References