Hello everyone, I would like to add a new question type to the survey: a Selection field(selection_option) appears in the front as a selection field type with its options. I have added a new question type to the model survey.question and store the options in the suggested_answer_ids everything is good in the back but when I am trying to test the survey and answer the question after selecting an option from the front and submit the answer, the new question type gives me an error which is this type question (selection_option) has no a saving Function. how to write a saving function for this new type of question and save the answers in the DB.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1540
Visualizzazioni
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
ago 25
|
2754 | ||
|
3
feb 25
|
3969 | ||
|
0
mag 24
|
46 | ||
|
1
apr 24
|
3597 | ||
|
4
set 23
|
5152 |