Page 1 of 1

[SOLVED] odoo11 problem with python3 module intallations

PostPosted: Nov 15th, '19, 17:30
by bitit
Good evening, i'm in testing installations italian modules for electronic invoice in odoo11

but when i try to launch, for example
Code: Select all
 pip3 install --pre odoo11-addon-partner-firstname


the installation seems to complete well, but effectively not.
the command don't load the plug-in folder in the addon directory .
and after:
restarting odoo
restarting the pc
reloading the app list

the plug in don't display in the app list

if i search in the odoo folder don't find it .

seam that pip3 install , dont work properly

thank you
enrico

Re: mg7.1 - odoo11 problem with python3 module intallations

PostPosted: Nov 16th, '19, 10:09
by doktor5000
bitit wrote:but when i try to launch, for example
Code: Select all
 pip3 install --pre odoo11-addon-partner-firstname


the installation seems to complete well, but effectively not.


It would help if you would at least post the full output from that command.

Re: mg7.1 - odoo11 problem with python3 module intallations

PostPosted: Nov 16th, '19, 13:14
by bitit
ok, maybe i have understand
Code: Select all
pip3 install odoo-autodiscover
Collecting odoo-autodiscover
  Using cached https://files.pythonhosted.org/packages/7b/79/e5353fba19818950062759f392afb7cd5dccd1fe3b7e4dea7f12ef6ce2ff/odoo-autodiscover-2.0.0.tar.gz
Requirement already satisfied: wrapt in /usr/local/lib/python3.7/site-packages (from odoo-autodiscover) (1.11.2)
Installing collected packages: odoo-autodiscover
    Running setup.py install for odoo-autodiscover ... done
Successfully installed odoo-autodiscover-2.0.0


the command install the module in :
/usr/local/lib/python3.7/site-packages
but the software work in
/usr/lib/python3.7/site-packages

Enrico

Re: mg7.1 - odoo11 problem with python3 module intallations

PostPosted: Nov 17th, '19, 15:36
by doktor5000
As mentioned previously, such topics are meant for the odoo support, this is not a Mageia issue.

Re: mg7.1 - odoo11 problem with python3 module intallations

PostPosted: Nov 19th, '19, 12:15
by bitit
ok solved editing
/etc/odoo/odo.conf

from:

addons_path=/usr/lib/python3.7/site-packages/odoo/addons

to:

addons_path=/usr/local/lib/python3.7/site-packages/odoo/addons

thank you
enrico