so we will have intersting results (and questions) in all sorts of "Analysis" which will add up quantities regardless the UoM
-- 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: Won't Fix 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 ? _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

