← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 683718] Re: [v6 RC1] stock addon: _product_value badly implemented

 

Hello,

I am confirming this issue which is related with the act_window. Because
when you open the "Stock Location" in product form view that is not give
the proper result.

Thanks.

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

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

Title:
  [v6 RC1] stock addon: _product_value badly implemented

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  in stock.py, object stock_location, the function:
def _product_value(self, cr, uid, ids, field_names, arg, context=None) is not completely implemented.

When I click in "Stock by location" from the product form, the stock shown is not correct.
This is due to several reasons:
1- the product_id in the context is not used
2 - the destination location is not used retrieved from the sql request: if  u have one stock location used only as destination in a stock move, its stock won't be computed
3- some code could be removed / simplified

there is a patch, fixing nº1 and nº 3, but not nº2
but it can also be improved

thnx





References