← 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

 

Hello Rucha,

Thanks for your nice explanation..:)

And I have agreed that, this constraint put because of lp:707287 's
issue.

But I have explain more here, As per filesys said this constraint will
be fire, If we have those product's move have created.

In simply, If product's account move or stock move created then we can
not change it's "UOM category" that is right.

But If I have new product and it has no move created then we have to
allow to change product's UOM either it have same category on not in
both case.

Because end user can be made a mistake and we have give him a chance to correct it..;-).
Here we are good aware of system, So we can't do a mistake..;-) but if the user is new then might be done such type of stupid mistake.
So we will give him  a chance to rectify it.

That's why my suggestion is that, If product have no move created then
we have allow to change it's category.

So I am again set to "New" status , please look in to this and give your suggestion on this.
Correct me I am wrong..:)

Thanks for consider it..


** Changed in: openobject-addons
       Status: Invalid => 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/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