c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02698
[Bug 670911] [NEW] survey module : errors in search view
Public bug reported:
Tools/Surveys/Define Surveys/Survey Pages
when I click on Survey button in group by I found the following error in
client side
Traceback (most recent call last):
File "/home/vir/erog/openobject-client/bin/widget/view/tree_gtk/parser.py", line 276, in setter
text = self.get_textual_value(model)
File "/home/vir/erog/openobject-client/bin/widget/view/tree_gtk/parser.py", line 521, in get_textual_value
return '( '+str(len(model[self.field_name].get_client(model).models)) + ' )'
AttributeError: 'str' object has no attribute 'models'
Tools/Surveys/Answer Surveys/Answer a Survey
after answering all survey when I click on Done button, I found
following error in server side
[2010-11-04 18:27:26,100][trunk] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/vir/erog/openobject-addons/survey/wizard/survey_answer.py", line 401, in fields_view_get
report = self.create_report(cr, uid, [int(survey_id)], 'report.survey.browse.response', survey_data.title,context)
File "/home/vir/erog/openobject-addons/survey/wizard/survey_answer.py", line 467, in create_report
return (True, ret_file_name)
NameError: global name 'ret_file_name' is not defined
** Affects: openobject-addons
Importance: Undecided
Status: New
--
survey module : errors in search view
https://bugs.launchpad.net/bugs/670911
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
Tools/Surveys/Define Surveys/Survey Pages
when I click on Survey button in group by I found the following error in client side
Traceback (most recent call last):
File "/home/vir/erog/openobject-client/bin/widget/view/tree_gtk/parser.py", line 276, in setter
text = self.get_textual_value(model)
File "/home/vir/erog/openobject-client/bin/widget/view/tree_gtk/parser.py", line 521, in get_textual_value
return '( '+str(len(model[self.field_name].get_client(model).models)) + ' )'
AttributeError: 'str' object has no attribute 'models'
Tools/Surveys/Answer Surveys/Answer a Survey
after answering all survey when I click on Done button, I found following error in server side
[2010-11-04 18:27:26,100][trunk] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/vir/erog/openobject-server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/vir/erog/openobject-addons/survey/wizard/survey_answer.py", line 401, in fields_view_get
report = self.create_report(cr, uid, [int(survey_id)], 'report.survey.browse.response', survey_data.title,context)
File "/home/vir/erog/openobject-addons/survey/wizard/survey_answer.py", line 467, in create_report
return (True, ret_file_name)
NameError: global name 'ret_file_name' is not defined
Follow ups
References