When I create a course, how can I require users to complete Part 1 before being allowed to proceed to the next part?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
As Niyas said by default there is no such functionality but one way you can do is by having some states and show only the fields which you want to complete first and then move onto next stages. For example just for idea in the header give button next which will change the state to "Section 1" and then change state to "Section II" and so on.
Can you make a simple instructional video for me?"
Sorry that might not be possible but i can explain llittle more to get you some context:-
Lets say you have a model and associated view with "op.course" what you can do is make a field "status" of selection type with values (1, 2, 3 and 4) as of you want the user to first complete state 1 and so on.
In the header give button "Next" and "Back" and use attrs to show/hide fields on each state along with the "required" paramter. Lets say in state 1 you have visible 4 fields and each of them are mandatory so system will not allow user to go to next stage using "Next" button unless all required information is pre-filled, and when user fills and click on next then you should show new fields in state (2) along with the fields which were already visible in state (1).
Note states should be more meaningful i'm just giving you an idea. I hope you got the idea what i'm saying.
Thank you for the instructions, but I'm still a bit unclear. Can you send an image so I can understand more clearly? Thank you.
"This is an image of when I created the course. I want the learners to complete Part 1 before they can proceed to Part 2."
https://upanh.org/image/Uyq2Yh
Is it necessary to do it in the tree view ? If this is condition then you can use javascript:-
through which you can disable below divs until the first has been completed on some condition. There is also jsfiddle link as well where you can playwith this.
Translation: "I just want the user to complete Part 1 before they can click on Part 2 to continue learning. Completing here can mean either reading until the end or finishing the quiz. Can you guide me on how to do this in Odoo?"
Note: I have provided a literal translation. Depending on the context, a more natural translation may be needed.
https://upanh.org/image/UycmLz
Hi @Umar Azam can you help me. issue below
HI Umar Azam
I've shared stackoverflow link which has JS script which can somewhat achieve similar result as you want. I'm afraid i can't help you more as there is no existing way in odoo through which you can achieve this.
Can you guide me on how to apply that JS code to create a course? Thank you.""
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Nov 24
|
2954 | ||
|
5
Nov 24
|
7480 | ||
|
2
Oct 24
|
2889 | ||
|
4
Oct 24
|
1869 | ||
|
2
Oct 24
|
4028 |
I hope by default in odoo this functionality is not there, you may have to customize and make it possible as per the need
Could you guide me on how to customize when creating courses? For example, if I create 3 sections within a course, users must complete section 1 before being able to move on to section 2."
https://upanh.org/image/UycmLz
@niyas raphy HI please help me