← Back to team overview

openerp-india team mailing list archive

[Bug 989399] [NEW] mrp.py move name incorrect

 

Public bug reported:

OpenERP 6.1

Inside mrp.py
def _make_production_produce_line
This line is wrong:
move_name = _('PROD: %s') + production.name
Should be
move_name = _('PROD: %s') % production.name

Result of incorrect line is that stock.move gets name 'PROD: %sMO/00646'
Should be 'PROD: MO/00646'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/989399

Title:
  mrp.py move name incorrect

Status in OpenERP Addons (modules):
  New

Bug description:
  OpenERP 6.1

  Inside mrp.py
  def _make_production_produce_line
  This line is wrong:
  move_name = _('PROD: %s') + production.name
  Should be
  move_name = _('PROD: %s') % production.name

  Result of incorrect line is that stock.move gets name 'PROD:
  %sMO/00646' Should be 'PROD: MO/00646'

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


Follow ups

References