product - uom_id - must not be changed

Bug #612759 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Wishlist
OpenERP R&D Addons Team 2
5.0
Triaged
Undecided
Unassigned
Trunk
Won't Fix
Wishlist
OpenERP R&D Addons Team 2

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 ?

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

We Let the Addosn2 team decide.

Thanks.

Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

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!

qdp (OpenERP) (qdp)
Changed in openobject-addons:
importance: Low → Wishlist
status: Triaged → Won't Fix
Revision history for this message
Ferdinand (office-chricar) wrote :

so we will have intersting results (and questions) in all sorts of "Analysis" which will add up quantities regardless the UoM

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.