X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fsurvey%2Fwizard%2Fsurvey_selection.py;fp=addons%2Fsurvey%2Fwizard%2Fsurvey_selection.py;h=a1fd05cf78a30bb9561e584ad77395c119d8ff20;hb=9b827b47c26fc80c4253969bb3ca0c9142cc594e;hp=7683e85ec439cbea2418e400574bf17d025e6f8a;hpb=220f75daec3adf772b6a49e1b293df09260077bb;p=odoo%2Fodoo.git diff --git a/addons/survey/wizard/survey_selection.py b/addons/survey/wizard/survey_selection.py index 7683e85..a1fd05c 100644 --- a/addons/survey/wizard/survey_selection.py +++ b/addons/survey/wizard/survey_selection.py @@ -63,7 +63,7 @@ class survey_name_wiz(osv.osv_memory): res = cr.fetchone()[0] sur_rec = survey_obj.browse(cr,uid,survey_id,context=context) if sur_rec.response_user and res >= sur_rec.response_user: - raise osv.except_osv(_('Warning !'),_("You can not give response for this survey more than %s times") % (sur_rec)) + raise osv.except_osv(_('Warning !'),_("You can not give response for this survey more than %s times") % (sur_rec.response_user)) if sur_rec.max_response_limit and sur_rec.max_response_limit <= sur_rec.tot_start_survey: raise osv.except_osv(_('Warning !'),_("You can not give more response. Please contact the author of this survey for further assistance."))