-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] [MIG] survey_question_type_five_star #58
[16.0] [MIG] survey_question_type_five_star #58
Conversation
How can I do functional tests please? |
first commit for Survey five stars question type
mandatory question should have answer between 1-5 for star_rate type
79b2710
to
e71bf91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review tech
@@ -35,28 +35,20 @@ This module add five stars rating question type for survey page | |||
Usage | |||
===== | |||
|
|||
Usage | |||
===== | |||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | |||
:alt: Try me on Runbot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runboat in place of runbot please
@@ -16,7 +16,9 @@ def save_lines(self, question, answer, comment=None): | |||
if question.question_type in ["star_rate"]: | |||
self._save_line_simple_answer(question, old_answers, answer) | |||
else: | |||
super(SurveyUserInput, self).save_lines(question, answer, comment=comment) | |||
return super(SurveyUserInput, self).save_lines( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super() please
Hello @nicolas-tg, Click on the Details link on runboat/build. Then you can create a new survey and add a question of type "Five Stars Rating". And test your survey. |
Functionnal review OK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (code review)
This PR has the |
cf1602c
to
c0c4322
Compare
Thanks @xavier-bouquiaux ! |
c0c4322
to
ef550c5
Compare
ef550c5
to
3150b53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ocabot migration survey_question_type_five_star |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 89307d4. Thanks a lot for contributing to OCA. ❤️ |
#57