[WIP] Correct origin procurement string

bzr revid: jco@openerp.com-20130725154710-5i4mx48ydo1hw4o2
This commit is contained in:
Josse Colpaert 2013-07-25 17:47:10 +02:00
parent 8582e0c64a
commit b8debad710
1 changed files with 1 additions and 1 deletions

View File

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