[IMP] survey: message
bzr revid: chm@openerp.com-20130226104536-x988l9cw1bcm6w9f
This commit is contained in:
@@ -224,7 +224,7 @@ class survey_question_wiz(osv.osv_memory):
|
||||
if not context.get('edit') and survey_browse.state != "open":
|
||||
raise osv.except_osv(_('Access Denied!'), _("You cannot answer because the survey is not open."))
|
||||
if anonymous and survey_browse.sign_in:
|
||||
raise osv.except_osv(_('Access Denied!'), _("Please sign in to complete this survey."))
|
||||
raise osv.except_osv(_('Access Denied!'), _("Please Login to complete this survey."))
|
||||
|
||||
# get opening response
|
||||
response_ids = None
|
||||
|
||||
@@ -54,8 +54,8 @@ class survey_mail_compose_message(osv.TransientModel):
|
||||
return urls
|
||||
|
||||
_columns = {
|
||||
'public': fields.selection([('public_link', 'Get and share the public web link below to your audience.'), \
|
||||
('email_public_link', 'Get and send by email the public web link below to your audience.'),\
|
||||
'public': fields.selection([('public_link', 'Share the public web link to your audience.'), \
|
||||
('email_public_link', 'Send by email the public web link to your audience.'),\
|
||||
('email', 'Send private invitation to your audience (only one response per recipient and per invitation).')],
|
||||
string='Share options', required=True),
|
||||
'public_url': fields.function(_get_public_url, string="Public url", type="char"),
|
||||
|
||||
Reference in New Issue
Block a user