← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 612759] Re: product - uom_id - must not be changed

 

Hello,
Thank  you for your suggestion! 
However this is unfortunately out of the scope  of the current OpenERP release, so we cannot implement it.
Let's  close this bug for now, for the sake of clarity in Launchpad, it can  always be reopened later when we consider new features for future  roadmaps.
Thank you for your understanding!

** Changed in: openobject-addons/trunk
       Status: Triaged => Won't Fix

** Changed in: openobject-addons/trunk
   Importance: Low => Wishlist

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

Title:
  product - uom_id - must not be changed

Status in OpenObject Addons Modules:
  Triaged
Status in OpenObject Addons 5.0 series:
  Triaged
Status in OpenObject Addons trunk series:
  Won't Fix

Bug description:
  there is no constraint that uom_id is not changed

if ever this happens
in stock/product.py
            cr.execute(
                'select sum(product_qty), product_id, product_uom '\
                'from stock_move '\
                'where location_id not in ('+location_ids_str+') '\
                'and location_dest_id in ('+location_ids_str+') '\
                'and product_id in ('+prod_ids_str+') '\
                'and state in ('+states_str+') '+ (date_str and 'and '+date_str+' ' or '') +''\
                'group by product_id,product_uom'
            )
returns 2 or more lines form which only the first is processed giving a wrong result.

Or do I miss something ?