Validate picking doesn't show products

Bug #602629 reported by Grzegorz Grzelak (OpenGLOBE.pl)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
JMA(Open ERP)

Bug Description

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),

Related branches

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote : Re: [Bug 602629] [NEW] Validate picking doesn't show products

+1

2010/7/7 Grzegorz Grzelak (Cirrus.pl) <email address hidden>

> Public bug reported:
>
> 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),
>
> ** Affects: openobject-addons
> Importance: Undecided
> Status: New
>
> --
> Validate picking doesn't show products
> https://bugs.launchpad.net/bugs/602629
> You received this bug notification because you are subscribed to
> OpenObject Addons.
>

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
assignee: nobody → JMA(Open ERP) (jma-openerp)
importance: Undecided → Low
milestone: none → 5.0.12
Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Grzegorz Grzelak,

It has been fixed by revision:
2774 <email address hidden>

Thank you for pointing this out.

Changed in openobject-addons:
status: Confirmed → Fix Released
Revision history for this message
Numérigraphe (numerigraphe) wrote :

This is not right for every situation.
"["+ m.product_id.code +"] " +m.product_id.name is just hardcoding a name, and was changed to fix Bug #474340.
Please revert this change and look for a broader solution.
Lionel

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.