OCA / survey

Survey addons
GNU Affero General Public License v3.0
27 stars 111 forks source link

[10.0][ADD] - Survey five stars question type #28

Closed sbejaoui closed 2 years ago

sbejaoui commented 6 years ago

first commit for Survey five stars question type

2

1

3

oca-clabot commented 6 years ago

Hey @sbejaoui, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet. You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla Here is a list of the users:

Appreciation of efforts, OCA CLAbot

pedrobaeza commented 6 years ago

Please avoid plurals on the name, and following usual conventions, the name should be survey_question_type_five_star.

pedrobaeza commented 6 years ago

Check also Travis status

sbidoul commented 5 years ago

Hi all, thanks for the review. We have limited budget to finalize this.

I see one important issue: "When I make a question mandatory, I still can skip it.". @sbejaoui is that easy to fix?

@tarteo Making the number of stars configurable looks too complex for our budget. May be we can rename the module to survey_question_type_star, and leave the configurability for later.

sbidoul commented 5 years ago

[updated] module name in previous comment

sbidoul commented 5 years ago

@benwillig I understand your comments are nice to have refactorings. Are they blocking for you?

sbejaoui commented 5 years ago

@sbidoul , @tarteo , For the mandatory option, I think we should decide if we consider 0 as a valid answer or not. When user skip a question and any of the five stars is highlighted a 0 value is sent. In this case the mandatory option make no sens. So I propose to consider valid answer for mandatory question from 1 to 5.

sbejaoui commented 5 years ago

@tarteo , I pushed a fix for the jslint

sbejaoui commented 3 years ago

Hi @rafaelbn ,

I believe this can be merged

github-actions[bot] commented 2 years ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.