Home / Documentation

Assessment Generator Documentation

Introduction

This application allows user to design a question paper, create multiple versions and sets based on the design and allocate to participants.

The objective of this module is to add following features in the system:

  • 1. To design a blueprint for a question paper ensuring randomization of questions and question paper by adding version creation features.
  • 2. Perform allocation of different sets and versions of question paper based on user requirements.

Installation

Instructions on how to set up the project locally by configuring Odoo(version 15) with Pycharm in Windows

  1. Install Pycharm community Edition from the given link. Download Pycharm
  2. Download and Install Odoo 15 from the given link. Download Odoo 15
  3. Navigate to Odoo folder C:\ProgramFiles\Odoo15\Server
  4. Cut odoo.conf from this location and save it in another drive folder.
  5. Open PyCharm and “Run as Administrator”
  6. Open Project C:\ProgramFiles\Odoo15 (This will take some time)
  7. Copy server\debian\odoo.conf file to server\folder
  8. Query postgres user through cmd: Open cmd from the path C:\ProgramFiles\Odoo15\PostgreSQL\bin (i.e. type cmd from this path)
  9. In the cmd write the following command ( Note: This is a screenshot from odoo13 tutorial but works for odoo 15 as well)

    ‘admin’ can be replaced with the username of PostgreSQL that was already given during odoo15 installation (default is openpg).

    NOTE: Odoov13 denotes the db username which can be replaced based on your choice.(for example : Odoo15).
  10. Press Enter

  11. Enter the password for the new role odoov15 twice as required and press enter

  12. Enter the password of postgresSQL that was given during odoo installation. Press Enter. Close cmd.

  13. Return to project in Pycharm and modify odoo.conf in server folder as below. (Replace with correct data as given in previous cmd step)

  14. Copy default addons path from the odoo.conf that was cut and copied to another folder in step 3.

    Replace the addons path in server\odoo.conf with this .

  15. Add xmlrpc_port as below

  16. In PyCharm go to “File” menu - > “Settings”->”Project - Odoo15”-> “Python Interpreter”

    Go to settings-> Add

  17. Create a new virtual environment >

    Change base interpreter with Python.exe inside Odoo folder as below

    Enable checkboxes as below

    Press OK. This will create a new virtual environment for Odoo15. It will install all packages and libraries needed for Odoo. NOTE: This will take some time.

    All packages installed will be seen as above. Press OK. Takes some time for updating.

  18. Add configuration for the project. Click on Add configuration .(Or from “Run” Menu “Edit configuration”)

    Click Add New configuration.

    Select Python

    Give a name for configuration. Click Apply after updating Script path and paramaters fields. Press OK.

  19. Now Click Run. Script will be executed. Check localhost:8070 in browser and confirm it runs as required.