[WIP] Correct origin procurement string
bzr revid: jco@openerp.com-20130725154710-5i4mx48ydo1hw4o2
This commit is contained in:
parent
8582e0c64a
commit
b8debad710
|
@ -1125,7 +1125,7 @@ class stock_move(osv.osv):
|
|||
This will create a procurement order
|
||||
"""
|
||||
proc_obj = self.pool.get("procurement.order")
|
||||
origin = _('Procurement from created by rule %s') % (move.group_id and move.group_id.name or "", move.rule_id and move.rule_id.name or "")
|
||||
origin = _('Procurement from %s created by rule %s') % (move.group_id and move.group_id.name or "", move.rule_id and move.rule_id.name or "")
|
||||
return proc_obj.create(cr, uid, {
|
||||
'name': _('MTO from rule %s') % move.rule_id and move.rule_id.name or "",
|
||||
'origin': origin,
|
||||
|
|
Loading…
Reference in New Issue