← Back to team overview

openerp-india team mailing list archive

[Bug 1208074] Re: [account][model hr.expense.expense][def action_receipt_create] ref should be trimmed to 64 chars

 

** Branch linked: lp:~openerp-dev/openobject-addons/7.0-opw-596206-fka

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

Title:
  [account][model hr.expense.expense][def action_receipt_create] ref
  should be trimmed to 64 chars

Status in OpenERP Addons (modules):
  New

Bug description:
  [account][model hr.expense.expense][def action_receipt_create] ref
  should be trimmed to 64 chars

  http://bazaar.launchpad.net/~openerp/openobject-
  addons/7.0/view/head:/hr_expense/hr_expense.py#L261

  instead of:

                      'ref': exp.name

  it should be:

                      'ref': exp.name[64:]

  not doing so will cause errors when creating the account.move.line
  records to account.move.

  
  Regards.

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


References