python odoo.py scaffold Academy openerp/my-modules
This command generates the Odoo module scaffold named Academy to the directory openerp/my-modules. But when we try to install this new Academy module under the Setting page, we cannot find an Academy module for us to install.
In order to find this new module, we need to use the "Update Module List" option.
If we can't find the option "Update Module List" either, we need to enable the "Technical Features" checkbox in our current user's settings.
Need to do some steps:
First, select side menu Users-Users and click the Administration user. Then we can see the form view of the User/Administrator. Click the "Technical Features" checkbox and save the settings.
Then, select side menu of Modules-"Update Module List", and click the Update button.
Finally, select side menu Modules-Local Modules,remove all filters and sort the module list. We will see the Academy module in the first position.
Going to http://localhost:8069/academy/academy/ will see the new module.
If we've added some templates or have modified codes of the module Academy , we will need to upgrade the module again.
Reference:
沒有留言:
張貼留言