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 <email address hidden>
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)
Hello Manfred,
I have checked your issue at my end with Gtk and web-client both But all are working as expected.
I have put a constraint in res.partner object which you have gives in bug specification and try to create a new partner with same reference but the constraint call successfully and I am not able to faced any traceback.
I have attached a video for your more reference so would you please check it and notify us where you faced the problem.
Thanks and waiting for your reply!