Bug 18888

Summary: Include the definition of currency in onboarding tool
Product: Koha Reporter: Alex Buckley <alexbuckley>
Component: Installation and upgrade (web-based installer)Assignee: Alex Buckley <alexbuckley>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, jonathan.druart, veron
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18002
Whiteboard:
Change sponsored?: --- Patch complexity: Small patch
Bot Control: --- When did the bot last check this:
Who signed the patch off: Text to go in the release notes:
Attachments: Bug 18888 - Currency defined in new onboardingstep6.tt after installation
Bug 18888 - Currency defined in new onboardingstep6.tt after installation

Description Alex Buckley 2017-06-30 21:06:57 UTC
At present when installing Koha currencies are only defined if the user decides to install them whilst going through the web installer.

Currencies are important because they are used in the acquisition and fines module and so they should be set up in the onboarding tool with the creation of the library, patron category, patron administrator, item type and circulation rule
Comment 1 Alex Buckley 2017-07-03 00:20:46 UTC
Created attachment 64767 [details] [review]
Bug 18888 - Currency defined in new onboardingstep6.tt after installation

Test plan:
1. Restart memcached and drop and recreate your database

2. Go through the Koha web installer making sure to install all data
except the currencies

3. Run through the onboarding tool noticing that after creating the
circulation rule the complete page appears and you can click to log into
Koha with the superlibrarian user you have created in the onboarding
tool

4. Apply patch

5. Repeat step 1, and 2

6. Run through the onboarding tool and notice that after creating the
circulation rule, a screen appears for you to define a currency

7. Write in the currency name and symbol (notice: you cannot edit the
exchange rate of 1) and submit the form

8. Notice the complete screen appears and you can log in with the
superlibrarian account created in the onboarding tool

9. Go to Administration->Currencies and exchange rates and notice that
the currency you created in the onboarding tool is displayed as active

10. Repeat step 1

11. Go through the Koha web installer making sure to install all data
including currencies

12. Run through the onboarding tool and notice that after creating the
circulation rule then the complete screen appears and click to log into
Koha with your superlibrarian account

13. Run qa tool and all tests should be successful

14. Sign off
Sponsored-by: Catalyst IT
Comment 2 Marc Véron 2017-07-03 07:57:54 UTC
Created attachment 64771 [details] [review]
Bug 18888 - Currency defined in new onboardingstep6.tt after installation

Test plan:
1. Restart memcached and drop and recreate your database

2. Go through the Koha web installer making sure to install all data
except the currencies

3. Run through the onboarding tool noticing that after creating the
circulation rule the complete page appears and you can click to log into
Koha with the superlibrarian user you have created in the onboarding
tool

4. Apply patch

5. Repeat step 1, and 2

6. Run through the onboarding tool and notice that after creating the
circulation rule, a screen appears for you to define a currency

7. Write in the currency name and symbol (notice: you cannot edit the
exchange rate of 1) and submit the form

8. Notice the complete screen appears and you can log in with the
superlibrarian account created in the onboarding tool

9. Go to Administration->Currencies and exchange rates and notice that
the currency you created in the onboarding tool is displayed as active

10. Repeat step 1

11. Go through the Koha web installer making sure to install all data
including currencies

12. Run through the onboarding tool and notice that after creating the
circulation rule then the complete screen appears and click to log into
Koha with your superlibrarian account

13. Run qa tool and all tests should be successful

14. Sign off
Sponsored-by: Catalyst IT

Folloewe test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>