ciao,
su 2 server OE 6.1 ho notato che non si riesce a modificare il template tramite plugin OO se il modulo report_aeroo è installato.
Questo l'errore:
......
result = self._read_flat(cr, user, select, fields, context, load)
File "/data/openerp/production/server/6.1/openerp/osv/orm.py", line 3539, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/data/openerp/production/server/6.1/openerp/osv/fields.py", line 1129, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/data/openerp/production/server/6.1/addons/report_aeroo/report_xml.py", line 200, in _report_content
res = super(report_xml, self)._report_content(cursor, user, orig_ids, name, arg, context)
File "/data/openerp/production/server/6.1/openerp/addons/base/ir/ir_actions.py", line 61, in _report_content
data = report[name + '_data']
File "/data/openerp/production/server/6.1/openerp/osv/orm.py", line 391, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/data/openerp/production/server/6.1/addons/report_aeroo/report_xml.py", line 288, in read
res = super(report_xml, self).read(cr, user, ids, fields, context)
File "/data/openerp/production/server/6.1/openerp/osv/orm.py", line 3416, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/data/openerp/production/server/6.1/openerp/osv/orm.py", line 3475, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/data/openerp/production/server/6.1/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/data/openerp/production/server/6.1/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...OM "ir_act_report_xml" WHERE ir_act_report_xml.id IN (false)...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
2012-08-22 16:18:12,007 28297 ERROR ? openerp.netsvc: operator does not exist: integer = boolean
LINE 1: ...OM "ir_act_report_xml" WHERE ir_act_report_xml.id IN (false)...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Sto usando i moduli più recenti. Da notare che se rimuovo il modulo report_aeroo openoffice mi apre tutti i report template senza problemi.
Cosa sto sbagliando?
grazie!