vertelab / odoo-af

2 stars 5 forks source link

AFC-780 Please test the Odoo-tour at this databas #180

Open FredrikArvas opened 3 years ago

FredrikArvas commented 3 years ago

image

https://afjira.ams.se/browse/AFC-780 https://www.odoo.yenthevg.com/category/tour/ https://www.cybrosys.com/blog/creating-tour-odoo-custom-module


Create a module called "af_odoo_tour" Which will host all Introduction-tours for Odoo.

Hi Please make a first version of this, where the functionality is very basic. I have suggested texts and actions for next step below, if any of them are difficult, please go ahead with a more simple version.

Step 1 - "When in contact" image Description: "This tab i used when you are working with a Jobbseeker. Select the appropriate form of contact." Action to next step. Click the "select".

Step 2 - "Social Security Number" Description: "the Social security number-field accepts both Personal number and Coordination number. Please use the 12 digit format with or without the dash (YYYYDDMM-NNNN or YYYYMMDDNNNN). " Action to next step. Click the Social Security number field.

Step 2 - "Social Security Number" Description: "the Social security number-field accepts both Personal number and Coordination number. Please use the 12 digit format with or without the dash (YYYYDDMM-NNNN or YYYYMMDDNNNN). " Action to next step. Click the "Upcoming Meetings"-tab.

Step 3 - "The Upcoming events tab" Description: "The upcoming meetings tab lists your next meetings. Click on a meeting to get to that jobseekers customer view." Action to next step. Click the "Upcoming meetings for others"-tab.

Step 4 - "Upcoming meetings for others tab" Description: "The upcoming meetings for others tab lists your collegues next meetings. Click on a meeting to get to that jobseekers customer view." Action to next step. Click the "Case"-tab.

Step 5 - "Case tab" Description: "The Case-tab lists the Work-items you have on AIS-Å and BÄR. Go to these systems to work with the cases." Action to next step. Click the "History"-tab.

Step 5 - "History tab" Description: "The History tab lists all Daily notes you created today. Both Automatically created from booked meetings and manually entered by you. You can edit them the same day they were created." Action to next step. [End of Tour].

Actual Hours: 7 hours and 40 min

FredrikArvas commented 3 years ago

May I ask you to do a video-recording where you explain it?

Suggested agenda of the recordnings. Video1: Demo of the tour on a database Video2: Explanations of where the steps in the tour is stored in the code Video3: What we need to know when we create a new tour for an other module.

OK? :-)

FredrikArvas commented 3 years ago

@rupareliyahemangi145 I added a new instruction: https://www.odoo.yenthevg.com/category/tour/ thanks

rupareliyahemangi145 commented 3 years ago

Ok @FredrikArvas

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

I've tried https://www.odoo.yenthevg.com/creating-user-tour-odoo/. But facing error:

TypeError: this.tours[tour_name] is undefined

http://localhost:8069/web/content/385-5c3aabb/web.assets_common.js:4007 Traceback: _consume_tour@http://localhost:8069/web/content/385-5c3aabb/web.assets_common.js:4007:147 run@http://localhost:8069/web/content/385-5c3aabb/web.assets_common.js:3991:357 start_tour/</<@http://localhost:8069/web/content/432-7607a36/web.assets_backend.js:2466:600 dispatch@http://localhost:8069/web/content/385-5c3aabb/web.assets_common.js:892:451 add/elemData.handle@http://localhost:8069/web/content/385-5c3aabb/web.assets_common.js:865:173

I will try to solve this error.

Thanks.

Regards, Hemangi.

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

I've instigated more about this issue and I found that may be error is from my Odoo v12 source code. Because I've created new database without installing custom module and faced same error. I've taken latest pull in v12 still same error.

I will check in another system tomorrow.

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

I've solved errors to create tour and here is video: https://www.loom.com/share/ee09623c9c6c40c585d4403c144b29c2

In tour just redirected user to 'Workspace' menu. Working on to fill data and search partners via tour.

FredrikArvas commented 3 years ago

Hi @rupareliyahemangi145

The steps are not important at this point, the important thing is to be able to run it for a user when he/she logs in for the first time. And when the user have clicked thorugh the tour, it should not appear again until we "reset" the tour for that user.

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

I need to search about it that how we can run user when he/she logs first time and how hide till reset for that tour. I will check this.

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

I didn't find any solution still.

FredrikArvas commented 3 years ago

Ok, not problem. Let me ask one of the other developers. /Fredrik

rupareliyahemangi145 commented 3 years ago

Ok @FredrikArvas

FredrikArvas commented 3 years ago

@rupareliyahemangi145 Where is the latest code now? Is it this? https://github.com/vertelab/odoo-af/tree/Dev-12.0/af_odoo_tour

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

Created PR https://github.com/vertelab/odoo-af/pull/460 for latest code.

Please check it and let me know if anything.

Thanks.

iammiracle commented 3 years ago

@FredrikArvas I tried installing the tour module in a fresh database, and I got errors from calendar_af module, signature does not exist and many more missing fields

FredrikArvas commented 3 years ago

Do you want to continue with this issue?

iammiracle commented 3 years ago

@FredrikArvas I am still getting errors anytime I install the tour module.

FredrikArvas commented 3 years ago

Ok, This module works with hr_view_360 and its dependancy to other modules,

Could you make a copy of it and make it as an instruction to the user-wizard you have created? We will need this functionality in many different modules.

ok?

iammiracle commented 3 years ago

@FredrikArvas I am not sure I understand this. I installed the necessary dependencies but calendar_af shows errors of some missing fields.

Then making a copy of it make an instruction of it to user-wizard is not clear to me. Do you want me to add the tour functionality to the user-wizard module?

FredrikArvas commented 3 years ago

Hi @iammiracle

Thanks for asking when my instructions are not clear!

the calendar_af do have problems and the team is working on fixing them. Yes please try to make an odoo_tour for the user-wizard-module instead.

The important thing here is for us as a team to get an understanding of the odoo-tour functionality.

I think we might use that for each of the more important modules in CRM and DAFA systems. That is why I am asking for it. /Fredrk

iammiracle commented 3 years ago

Understood. Thanks