Ciao ragazzi è da ieri che openerp (5.x)
mi genera questo messaggio quando accedo ad un a vista di tipo partner, fattura o altro:
[2011-03-04 09:58:37,496][Garvan] DEBUG:web-services:[01]: AccessError
[2011-03-04 09:58:37,496][Garvan] DEBUG:web-services:[02]: Traceback (most recent call last):
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[03]: File "/home/openerp/server/bin/osv/osv.py", line 58, in wrapper
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[04]: return f(self, dbname, *args, **kwargs)
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[05]: File "/home/openerp/server/bin/osv/osv.py", line 119, in execute
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[06]: res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[07]: File "/home/openerp/server/bin/osv/osv.py", line 111, in execute_cr
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[08]: return getattr(object, method)(cr, uid, *args, **kw)
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[09]: File "/home/openerp/server/bin/osv/orm.py", line 1416, in search_count
[2011-03-04 09:58:37,497][Garvan] DEBUG:web-services:[10]: res = self.search(cr, user, args, context=context, count=True)
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[11]: File "/home/openerp/server/bin/addons/base/ir/ir_attachment.py", line 45, in search
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[12]: context=context, count=False)
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[13]: File "/home/openerp/server/bin/osv/orm.py", line 3047, in search
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[14]: self.pool.get('ir.model.access').check(cr, user, self._name, 'read', context=context)
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[15]: File "/home/openerp/server/bin/tools/misc.py", line 681, in cached_result
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[16]: result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
[2011-03-04 09:58:37,498][Garvan] DEBUG:web-services:[17]: File "/home/openerp/server/bin/addons/base/ir/ir_model.py", line 374, in check
[2011-03-04 09:58:37,499][Garvan] DEBUG:web-services:[18]: raise except_orm(_('AccessError'), msgs[mode] % model_name )
[2011-03-04 09:58:37,499][Garvan] DEBUG:web-services:[19]: except_orm: ('AccessError', 'You can not read this document! (ir.attachment)')
[2011-03-04 09:58:37,499][Garvan] Level 9:exception:u'warning -- AccessError\n\nYou can not read this document! (ir.attachment)'
Avete un suggerimento di cosa guardare? Oppure è consigliabile fare un update?
ovviamente quando sono Admin questo messaggio non si presenta, ho notato che sembra farlo da quando ho installato i nuovi report_aeroo.
Ho provveduto in questo modo:
- disistallato report_openoffice
- installato aeroo_report
non ho riavviato e non ho fatto nessun update del db o altro o anche solo dei moduli
Cheers
Franco