I use docker-compose on mac to start odoo 14.
The third party addon has already downloaded and located in the addons folder. After starting the container, I can also see that the addon has been mounted and located in /mnt/extra-addons folder in the pyseudo-tty.
I followed the steps:
activate developer mode > select update apps list > restart container
but the addon is still not found thus I could not install it.
I get the warning when I click on update apps list:
WARNING ? odoo.addons.base.models.ir_cron: Skipping database db because of modules to install/upgrade/remove.
> edited: I solve this warning by adding 'command: odoo -d db -u all' in my yaml file. but still module not found :/
What may be the problem, or anything I am missing?
Thanks in advance.
(below is my docker-compose.yaml file)
version: '3.9'
services:
web:
image: odoo:14
depends_on:
- db
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
command:
odoo -d db -u all
db:
image: postgres:13
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db-data:/var/lib/postgresql/data/pgdata
volumes:
odoo-web-data:
odoo-db-data:
You need to add /mnt/extra-addons to addons_path parameter in Odoo config file
I did have /mnt/extra-addons in the odoo.config file.
I get the following logs:
web_1 | 2022-03-28 11:51:52,625 1 INFO db odoo.modules.loading: Loading module bi_import_chart_of_accounts (31/38)
web_1 | 2022-03-28 11:51:53,677 1 INFO db odoo.modules.registry: module bi_import_chart_of_accounts: creating or updating database tables
web_1 | 2022-03-28 11:51:54,030 1 INFO db odoo.modules.loading: loading bi_import_chart_of_accounts/security/ir.model.access.csv
web_1 | 2022-03-28 11:51:54,120 1 INFO db odoo.modules.loading: loading bi_import_chart_of_accounts/wizard/view_import_chart.xml
web_1 | 2022-03-28 11:51:54,233 1 INFO db odoo.modules.loading: Module bi_import_chart_of_accounts: loading demo
web_1 | 2022-03-28 11:51:54,313 1 INFO db odoo.modules.loading: Module bi_import_chart_of_accounts loaded in 1.69s, 103 queries
web_1 | 2022-03-28 11:51:54,373 1 INFO db odoo.modules.loading: 38 modules loaded in 2.48s, 103 queries (+0 extra)
so I do not understand why the module did not appear in the webpage.
'bi_import_chart_of_accounts' is the third party module I am trying to install.
I have added the module to my addons folder and run docker compose and then opened the system, moved to apps -> update apps lists -> and I was able to see the modules.
Is there any difference between your docker-compose file and mine?
this is how my local directory looks like:
odoo
-docker-compose.yaml
-addons
- bi_import_chart_of_accounts unzip module directory
- config
-odoo.config
Is there any difference between your docker-compose file and mine?
this is how my local directory looks like:
-docker-compose.yaml
-addons
---- bi_import_chart_of_accounts unzip module directory
- config
----odoo.config
hi, I realize that when I open the container in web, under the 'mitchell admin' user, I could find the module already installed.
but when I head to my odoo.com account, it is module not found.
I left the container once I headed to my odoo.com account, is it?
(I am new to odoo, so it is quite confusing for me...)