[FIX] mrp : Corrections for Work Order names
bzr revid: jma@tinyerp.com-20101021124632-vfv5jesa55mzkxz7
This commit is contained in:
parent
340547a18e
commit
36dd47081b
|
@ -26,6 +26,7 @@ from osv import osv, fields
|
|||
from tools.translate import _
|
||||
import netsvc
|
||||
import time
|
||||
import tools
|
||||
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
@ -311,7 +312,7 @@ class mrp_bom(osv.osv):
|
|||
mult = (d + (m and 1.0 or 0.0))
|
||||
cycle = mult * wc_use.cycle_nbr
|
||||
result2.append({
|
||||
'name': bom.routing_id.name,
|
||||
'name': tools.ustr(wc_use.name) + ' - ' + tools.ustr(bom.product_id.name),
|
||||
'workcenter_id': wc.id,
|
||||
'sequence': level+(wc_use.sequence or 0),
|
||||
'cycle': cycle,
|
||||
|
|
Loading…
Reference in New Issue