Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to install server-wide module

Subscriure's

Get notified when there's activity on this post

This question has been flagged
servermoduleinstallappwide
2 Respostes
17446 Vistes
Avatar
Leo Guggenberger

Hello,

how can I install an app/module server-wide? I want to use the module dbfilter_from_header and the instruction says "The addon has to be loaded as server-wide module.". How can I do this?

 

Thanks a lot!

Leo

0
Avatar
Descartar
Marvin Taboada

Hello Leo, Combine the options: '-c' to define a path to the configuration file, and '-s' to generate it if it doesn't exist. For any doubts, the source code is your friend: * https://github.com/odoo/odoo/blob/7.0/openerp/tools/config.py#L352 The following getting started link mentions both options but is somehow outdated: * https://doc.odoo.com/trunk/server/01_getting_started/

Avatar
Wolfgang Taferner
Best Answer

Hi Leo,
You have to start the server with --load=SERVER_WIDE_MODULES
Comma-separated list of server-wide modules (default=web)

i.e.
via Commandline
./odoo.py -c CONFIGFILE --load=web,web_kanban,dbfilter_from_header

via CONFIGFILE
server_wide_modules=web,web_kanban,dbfilter_from_header

./odoo.py --help shows you all possible parameters/options you could define either in a configfile or directly in command line.

Best regards,
Wolfgang

1
Avatar
Descartar
Marvin Taboada

Hello Wolfgang, just wanted to point that the configuration option documentation is not updated, the default value contains both 'web' and 'web_kanban', both for 7.0 and 8.0: * https://github.com/odoo/odoo/blob/7.0/openerp/tools/config.py#L487 * https://github.com/odoo/odoo/blob/8.0/openerp/tools/config.py#L504

Wolfgang Taferner

Hi Marvin, thx for testing and pointing out...corrected the answer

Leo Guggenberger
Autor

Hi Wolfgang, thanks for your information. I have a problem that it is still not working on my side. Do you know a option, how I can see (for example logging) which server_wide_modules are loaded? I guess that the server_wide_modules are still not loaded on my side. Thanks a lot! Leo

Wolfgang Taferner

Hi Leo, it is difficult to help you this way about a now not so specific problem anymore...the answer to the specific question should be correct and works on my side...both ways...I would appreciate if you mark it as correct and make a new question to the community about the module you try to get running... Hint: running odoo.py --help in command line gives you a push forward about running odoo with certain options and the code lines posted by Marvin even more...

TEIMI Yassine

Should I execute the commande line, and at the same time modify on the configuration file : /opt/odoo/openerp/tools/config.py (my server path) ?

Avatar
Leo Guggenberger
Autor Best Answer

Hi Wolfgang,

thanks a lot for your information! How does this configuration looks like in the configurationfile? I would like to define the server-wide modules in the configfile instead of direct in the command line.

 

Thanks a lot!

Kind regards,

Leo

0
Avatar
Descartar
Marvin Taboada

Hello Leo, Combine the options: '-c' to define a path to the configuration file, and '-s' to generate it if it doesn't exist. For any doubts, the source code is your friend: * https://github.com/odoo/odoo/blob/7.0/openerp/tools/config.py#L352 The following getting started link mentions both options but is somehow outdated: * https://doc.odoo.com/trunk/server/01_getting_started/

Wolfgang Taferner

I edited my answer and it should be somehow complete now...

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Unable to install any app or module Solved
module install app psycopg2
Avatar
Avatar
2
de des. 22
7551
ImportError: No module named xlrd in v7 when installing/updating apps?
module install app fresh_install
Avatar
Avatar
1
de març 15
16152
odoo-14: I get an error when I try to install a module in Digital Ocean Solved
module install
Avatar
Avatar
1
d’abr. 21
6622
Unable to install module Solved
module install
Avatar
Avatar
2
d’abr. 15
5410
Is it possible to install an app with the command line ?
install app
Avatar
Avatar
Avatar
2
de març 15
11700
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now