← Back to team overview

openerp-india team mailing list archive

[Bug 938251] Re: [6.1] [mrp] Translate string uses concatenation instead of modifier resulting in incorrect stock move name

 

** Also affects: openobject-addons/6.1
   Importance: Undecided
       Status: New

** Also affects: openobject-addons/trunk
   Importance: Low
     Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2)
       Status: Fix Committed

** Changed in: openobject-addons/6.1
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Changed in: openobject-addons/6.1
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/938251

Title:
  [6.1] [mrp] Translate string uses concatenation instead of modifier
  resulting in incorrect stock move name

Status in OpenERP Addons (modules):
  Fix Committed
Status in OpenERP Addons 6.1 series:
  Confirmed
Status in OpenERP Addons trunk series:
  Fix Committed

Bug description:
  @@ -926,7 +926,7 @@
           stock_move = self.pool.get('stock.move')
           source_location_id = production.product_id.product_tmpl_id.property_stock_production.id
           destination_location_id = production.location_dest_id.id
  -        move_name = _('PROD: %s') + production.name 
  +        move_name = _('PROD: %s') % production.name 
           data = {
               'name': move_name,
               'date': production.date_planned,

  File is mrp.py - sorry didn't post patch as I've had to make quite a
  lot of changes already to that file but is simple enough.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/938251/+subscriptions


References