← Back to team overview

openerp-india team mailing list archive

[Bug 1198176] Re: Expense : name limited 64 caracter

 

This has been fixed in

http://bazaar.launchpad.net/~openerp/openobject-
addons/7.0/revision/8790.1.1

Thanks!

** Changed in: openobject-addons
       Status: Confirmed => 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/1198176

Title:
  Expense : name limited 64 caracter

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Hello,

  I have try the make an expense with a long Description  (more than 64 caracters), when I generete the accoun entries Is received the error: 
  ...
      result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
    File "/home/odoo/runbot/static/openerp-dev-7-0-15208/server/openerp/osv/fields.py", line 557, in set
      id_new = obj.create(cr, user, act[2], context=context)
    File "/home/odoo/runbot/static/openerp-dev-7-0-15208/server/openerp/addons/account/account_move_line.py", line 1226, in create
      result = super(account_move_line, self).create(cr, uid, vals, context=context)
    File "/home/odoo/runbot/static/openerp-dev-7-0-15208/server/openerp/osv/orm.py", line 4434, in create
      cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
    File "/home/odoo/runbot/static/openerp-dev-7-0-15208/server/openerp/sql_db.py", line 161, in wrapper
      return f(self, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-7-0-15208/server/openerp/sql_db.py", line 226, in execute
      res = self._obj.execute(query, params)
  DataError: value too long for type character varying(64)

  
  So please could you please limit the field Description to 64 caracters.

  Thanks for your help,

  Vincent

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