← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 558364] Re: [5.0 stock] Error with 'multi' instances in stock.location

 

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

-- 
[5.0 stock] Error with 'multi' instances in stock.location
https://bugs.launchpad.net/bugs/558364
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Triaged

Bug description:
Hi,

Fields stock_real, stock_virtual and stock_real_value, stock_virtual_value in stock_location columns shared  the multi attribute: multi="stock", but the first pair want to call _product_qty_available() function and second pair want to call _product_value() function. The behaviour when you share the multi instance is that all multi fields call to the last function defined with the instance of multi then the four fields call to _product_value() function.

I include a patch that changes the multi instance of stock_real_value and stock_virtual_value for multi="value". It works well.