Install a custom app

Create a custom addons directory

Inorder to view a new app in Odoo, first we need to create a custom addons directory. All new addons can be saved in this directory
  • Create a directory named custom_addons in your odoo main directory[or some other path as you like].
  • Copy the new custom app that have to added to Odoo to the custom_addons folder
  • It is not necessary to create a new directory for custom_addons, you can directly add addons into Odoo addons folder. But it is recomended to use create a new custom addons directory.

Add custom_addons directory to Odoo addons path

  • Inside odoo.conf [your Odoo config file] file, add the custom_addons path.
addons_path = /path_to_odoo/odoo-12.0/odoo/addons,/path_to_odoo/odoo-12.0/addons,/path_to_odoo/odoo-12.0/custom_addons
  •  Restart your odoo instance.
If you are creating a new database after restarting Odoo, your odoo module will be already available for you in Apps/ apps.

If you want this app in an old database, then:
  • Activate developer mode:
    • You can activate developer mode by typing ?debug= before the '#' symbol in your url.
    • You can also activate developer mode from settings. Option to activate developer mode is available in Odoo settings

activate-developer-mode
  • Now go to update app list from Apps/ Update app list
update-app-list




Next Chapter: PDF report for a model in Odoo

No comments:

Post a Comment

How to create XLS report in Odoo 12

In this tutorial we'll be creating a simple XLS report that can be generated from wizard in Sales/ Report menu . XLS reports are made u...