File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ class Survey(models.Model):
77 _inherit = "survey.survey"
88
99 start_button_name = fields .Char ("Survey Start Button Name" , default = "Start" )
10+ end_heading_name = fields .Char ("Survey End Heading Name" , default = "Thank you!" )
Original file line number Diff line number Diff line change 77 <field name =" arch" type =" xml" >
88 <field name =" users_can_go_back" position =" after" >
99 <field name =" start_button_name" />
10+ <field name =" end_heading_name" />
1011 </field >
1112 </field >
1213 </record >
Original file line number Diff line number Diff line change 1313 </t >
1414 </xpath >
1515 </template >
16+ <template id =" survey_fill_form_done" inherit_id =" survey.survey_fill_form_done" >
17+ <xpath expr =" //div[hasclass('o_survey_finished')]/h1" position =" attributes" >
18+ <attribute name =" t-if" >not survey.end_heading_name</attribute >
19+ </xpath >
20+ <xpath expr =" //div[hasclass('o_survey_finished')]/h1" position =" after" >
21+ <h1 t-if =" survey.end_heading_name" t-out =" survey.end_heading_name" />
22+ </xpath >
23+ </template >
1624</odoo >
You can’t perform that action at this time.
0 commit comments