c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26565
[Bug 797690] Re: OpenERP v6 (trunk revison 3461) error with _sql_constraints
hello amit,
you will be able to reproduce the bug if your user language is other
then "en_US" . Try to load de_DE and then go to account open any account
with parent_id =False then assign the same account as its parent you
will have a contraint fired something like "You can not create recursive
accounts." but here you will face the traceback as reported in the
original bug.
Hope this helps you !
--
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:
Incomplete
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
References