← Back to team overview

openerp-india team mailing list archive

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

 

Thanks Rucha,
I forgettheconstraint added for Uom category.
Deletionandre-creationof the product isa better way.

Thanks

On 25.11.2011 10:48, Rucha (Open ERP) wrote:
> Hello Amit,
> Thanks for reporting,
>
> As filsys said, its needed and it only fires constraint when you have category of old and new UoM are different,
> But beware, you also cannot change the UoM category of an existing UoM too,
> the reason why we added constraint is well described in https://bugs.launchpad.net/openobject-addons/+bug/707287/comments/25 of lp:707287,
>
> I think the problem you described is not a blocking one,
> You have to take care of everything while creating a product at one time and don't do anything by mistake , (and if you commit any mistake just delete that product!)
>
> So, for the problem raised in lp:707287 we did this fix, so this is not
> a bug.
>
> I hope it helps,
>
> ** Changed in: openobject-addons
>         Status: Confirmed =>  Invalid
>

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