← Back to team overview

openobject-italia-core-devs team mailing list archive

Re: Ricevute Bancarie 2

 

Il 25 febbraio 2012 20:17, Andrea Cometa <info@xxxxxxxxxxxxxxx> ha scritto:
> Il 25/02/2012 19:21, Lorenzo Battistini ha scritto:
>
>> Il 25 febbraio 2012 17:06, Andrea Cometa<info@xxxxxxxxxxxxxxx>  ha
>> scritto:
>>>
>>> qualcuno disponibile per un test?

Mi sa che non riesco a riprodurre il tuo problema.
Riesco a fare fatture ed esportare ri.ba.

Le mie versioni del codice:

openobject-server/6.0 revno 3592
openobject-addons/6.0 revno 5097
openobject-client-web/6.0 revno 4763
openobject-client/6.0 revno 1938
~scigghiateam/openerp/l10n_it_ricevute_bancarie revno 16

Già che ci sono ti segnalo alcuni problemi che sembrano capitare solo col GTK.



Se faccio 'new' nella lista di 'riba da emettere' il client GTK va in
errore dicendo

xmlrpclib.Fault: <Fault 1: "<type 'exceptions.TypeError'>:cannot
marshal None unless allow_none is enabled">



Sempre da GTK quando lancio il wizard 'emissione ricevute bancarie',
seleziono la configurazione e faccio 'crea', il server dice

[2012-02-26 19:32:00,943][test_60] ERROR:db.cursor:Programming error:
operator does not exist: integer = integer[]
LINE 1: ...,id,type,inherit_id,model FROM ir_ui_view WHERE id=ARRAY[487...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts.
, in query SELECT arch,name,field_parent,id,type,inherit_id,model FROM
ir_ui_view WHERE id=%s AND model=%s
[2012-02-26 19:32:00,944][test_60] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py",
line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py",
line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py",
line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py",
line 1565, in fields_view_get
    cr.execute(query, params)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/sql_db.py",
line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/sql_db.py",
line 131, in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = integer[]
LINE 1: ...,id,type,inherit_id,model FROM ir_ui_view WHERE id=ARRAY[487...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts



Ciau


Follow ups

References