← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 797690] [NEW] OpenERP v6 (trunk revison 3461) error with _sql_constraints

 

Public bug reported:

I use the following in res.partner
    _sql_constraints = [
        ('ref_uniq', 'unique (ref)', 'Die eingegebene Nummer ist schon vorhanden!'),
    ]
after update to rev 3461 i get a new error

Environment Information : 
System : Linux-2.6.35.13-92.fc14.i686-i686-with-fedora-14-Laughlin
OS Name : posix
Operating System Release : 2.6.35.13-92.fc14.i686
Operating System Version : #1 SMP Sat May 21 17:39:42 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : de_DE.UTF8
Python Version : 2.7.0
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1909 nch@xxxxxxxxxxx-20110614111856-4mgrqyeypbluofin
Traceback (most recent call last):
  File "/home/openerp/trunk/server/openerp/service/netrpc_server.py", line 70, in run
    result = self.dispatch(msg[0], msg[1], msg[2:])
  File "/home/openerp/trunk/server/openerp/netsvc.py", line 434, in dispatch
    tb_s = cgitb.text(tb)
  File "/usr/lib/python2.7/cgitb.py", line 245, in text
    exception = ['%s: %s' % (str(etype), str(evalue))]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 14: ordinal not in range(128)

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

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

Title:
  OpenERP v6 (trunk revison 3461) error with _sql_constraints

Status in OpenERP Web Client:
  New

Bug description:
  I use the following in res.partner
      _sql_constraints = [
          ('ref_uniq', 'unique (ref)', 'Die eingegebene Nummer ist schon vorhanden!'),
      ]
  after update to rev 3461 i get a new error

  Environment Information : 
  System : Linux-2.6.35.13-92.fc14.i686-i686-with-fedora-14-Laughlin
  OS Name : posix
  Operating System Release : 2.6.35.13-92.fc14.i686
  Operating System Version : #1 SMP Sat May 21 17:39:42 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : de_DE.UTF8
  Python Version : 2.7.0
  OpenERP-Client Version : 6.1-dev
  Last revision No. & ID :1909 nch@xxxxxxxxxxx-20110614111856-4mgrqyeypbluofin
  Traceback (most recent call last):
    File "/home/openerp/trunk/server/openerp/service/netrpc_server.py", line 70, in run
      result = self.dispatch(msg[0], msg[1], msg[2:])
    File "/home/openerp/trunk/server/openerp/netsvc.py", line 434, in dispatch
      tb_s = cgitb.text(tb)
    File "/usr/lib/python2.7/cgitb.py", line 245, in text
      exception = ['%s: %s' % (str(etype), str(evalue))]
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 14: ordinal not in range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/797690/+subscriptions


Follow ups

References