[FIX] Export and Reports controllers have no need to extend View
bzr revid: xmo@openerp.com-20130403082635-9dmdi4cco3kawiib
This commit is contained in:
@@ -1428,7 +1428,7 @@ class Action(openerpweb.Controller):
|
||||
else:
|
||||
return False
|
||||
|
||||
class Export(View):
|
||||
class Export(openerpweb.Controller):
|
||||
_cp_path = "/web/export"
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
@@ -1691,7 +1691,7 @@ class ExcelExport(Export):
|
||||
fp.close()
|
||||
return data
|
||||
|
||||
class Reports(View):
|
||||
class Reports(openerpweb.Controller):
|
||||
_cp_path = "/web/report"
|
||||
POLLING_DELAY = 0.25
|
||||
TYPES_MAPPING = {
|
||||
|
||||
Reference in New Issue
Block a user