Hello,

I'm testing Tryton 1.8 with the packaged MacOS Client.
I raised an error while filling in the SIRET field in a new Compagny tab : the 
SIREN was entered space separated while it seems right to enter it without any 
space.
Below is the error. Should I fill in a bug for such things ? is it related to 
the client or to the server ?
(I think the field should become red and a message should tell "Please only 
numbers in this fields" rather than this error that doesn't point to the 
erroneous field).
Thanks,

Traceback (most recent call last):
  File "/trytond/protocols/netrpc.py", line 48, in run
    res = dispatch(host, port, 'NetRPC', *msg)
  File "/trytond/protocols/dispatcher.py", line 136, in dispatch
    res = getattr(obj, method)(*args, **kargs)
  File "/trytond/model/modelsql.py", line 291, in create
    inherits_id = inherits_obj.create(tocreate[inherits])
  File "/trytond/modules/party/party.py", line 144, in create
    return super(Party, self).create(values)
  File "/trytond/model/modelsql.py", line 333, in create
    'VALUES (' + str(id_new) + upd1 + ')', tuple(upd2))
  File "/trytond/backend/postgresql/database.py", line 295, in execute
    res = self.cursor.execute(sql, params)
DataError: value too long for type character varying(9)


Jean-Christophe Michel
[email protected]
--
Symétrie
30 rue Jean-Baptiste Say
69001 LYON (FRANCE)
tél +33 (0)478 29 52 14
fax +33 (0)478 30 01 11
web www.symetrie.com



-- 
[email protected] mailing list

Reply via email to