← 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

 

Hello,

We have merged the change in the orm. Now related and function fields of
type char will use the attribute size to truncate the text.

Regards

revno: 5094 [merge]
revision-id: mat@xxxxxxxxxxx-20131008112003-sjc193tteex1mirk


** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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