Code review comment for lp:~numerigraphe/openobject-addons/trunk-stock-editable-compatible-picking-line

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Hello, i get a suggestion to improve, pass in context for product the location_id

like.

<field name="product_id" context="{'location': location_id}"/>

As we know qty_available is compute based in params from context, so if we are moving from location_id to location_dest_id is better for user just see inventory in that location source.

What is your opinion ?

« Back to merge proposal