[IMP] survey: in progress; external link OK, target=inline
bzr revid: chm@openerp.com-20130212142932-ma63q3y6p7ev0j9s
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
<field name="res_model">survey.question.wiz</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="context">{'survey_id': survey_id, 'survey_token': survey_token}</field>
|
||||
<field name="target">inline</field>
|
||||
<field name="context">{'survey_id': active_id, 'survey_token': params, 'ir_actions_act_window_target': 'inline'}</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<p>Hello,</p>
|
||||
<p>
|
||||
Would you please spent some of your time to fill-in our survey:
|
||||
<a href="#action=survey.action_answer_survey&survey_id=${object.id}&survey_token=__TOKEN__">${object.title}</a>
|
||||
<a href="#action=survey.action_answer_survey&active_id=${object.id}&token=__TOKEN__">${object.title}</a>
|
||||
</p>
|
||||
% if object.responsible_id:
|
||||
<p>Thank you for choosing ${object.responsible_id.company_id.name or 'us'}!</p>
|
||||
|
||||
Reference in New Issue
Block a user