Comment 4 for bug 474340

Revision history for this message
Numérigraphe (numerigraphe) wrote :

I'm re-opening this bug because we need a broader solution, as illustrated bellow.
Lionel

Grzegorz Grzelak (Cirrus.pl) reported in Bug #602629 :
"When you have purchase order created by any procurement (minimal stock or manual on product form) and then you create picking list (approving that purchase order) you cant see product names during validating.

Instead of product names you see name field from stock moves which are like:

"PROC:INT:admin"
"PROC:OP:2"

So you don't know what are you validating.

When purchase order is created manually name field contains correct product name. In sales order site it is correct too.

I think in module stock in file wizard_partial_picking.py in line 70

instead of:

                'string': _to_xml(m.name),

should be:

                'string': _to_xml("["+ m.product_id.code +"] " +m.product_id.name),"