I spent more than two day but can't diagnose this error.
2015-08-11 09:15:22,739 22332 ERROR uf_02aug openerp.sql_db: Programming error: relation "purchase_report" does not exist
LINE 1: ...rchase_report"."price_total") AS price_total FROM "purchase_...
^
, in query SELECT min(purchase_report.id) AS id, count(purchase_report.id) AS __count,"purchase_report"."category_id", sum("purchase_report"."price_total") AS price_total FROM "purchase_report" WHERE ("purchase_report"."state" in (%s,%s,%s,%s)) GROUP BY "purchase_report"."category_id"
2015-08-11 09:15:22,739 22332 ERROR uf_02aug openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/home/apagen/workspace/7/openerp7/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/apagen/workspace/7/openerp7/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/apagen/workspace/7/openerp7/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/apagen/workspace/7/openerp7/openerp/osv/orm.py", line 2689, in read_group
cr.execute('SELECT min(%s.id) AS id, count(%s.id) AS %s_count' % (self._table, self._table, group_count) + (flist and ',') + flist + ' FROM ' + from_clause + where_clause + gb + limit_str + offset_str, where_clause_params)
File "/home/apagen/workspace/7/openerp7/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/home/apagen/workspace/7/openerp7/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "purchase_report" does not exist
LINE 1: ...rchase_report"."price_total") AS price_total FROM "purchase_...