← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701480] Re: [6.0 RC2] hard coded reference will not work if prefix of sequences is changed

 

** Changed in: openobject-addons
       Status: New => Triaged

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701480

Title:
  [6.0 RC2] hard coded reference will not work if prefix of sequences is
  changed

Status in OpenObject Addons Modules:
  Triaged

Bug description:
  sale.py:            'reference': "P%dSO%d" % (order.partner_id.id,
  order.id),

  purchase.py:                'reference': "P%dPO%d" % (o.partner_id.id, o.id),
  purchase.py:                        'name': 'PO:'+order_line.name,

  in v6 the prefix can and will be set in localised to something meaningfull 
  PO will be EA
  SO will be VA
  or something like that in German

  the reference / name mentioned above will point to nowhere.





References