Rémi FRANÇOIS
5 years ago
6 changed files with 57 additions and 7 deletions
-
3survey_input_template_custom/__manifest__.py
-
21survey_input_template_custom/i18n/fr.po
-
20survey_input_template_custom/i18n/survey_input_template_custom.pot
-
2survey_input_template_custom/models/survey_survey.py
-
17survey_input_template_custom/templates/page.xml
-
1survey_input_template_custom/views/survey_survey.xml
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
|
|||
<template id="page" inherit_id="survey.page"> |
|||
<xpath expr="//button[@t-if='last']" position="replace"> |
|||
<button t-if="last" type="submit" class="btn btn-primary" name="button_submit" value="finish"> |
|||
<t t-if="survey.submit_btn_label"> |
|||
<span t-field="survey.submit_btn_label"/> |
|||
</t> |
|||
<t t-else=""> |
|||
Submit survey |
|||
</t> |
|||
</button> |
|||
</xpath> |
|||
</template> |
|||
|
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue