Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Cannot find module created using scaffold in Odoo 11

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
scaffoldodoo11
5 Besvarelser
10933 Visninger
Avatar
musicearth

Hi Forum,

I am trying to create and install a module that I have created in Odoo 11, but to no avail. I have tried a number of things, but nothing seems to work and I suspect this has something to do with permissions. Nonetheless, I am including a description of what I have done.

1. On a virtual Ubuntu 16.04 machine, I have installed Odoo 11 using this script (courtesy of Yenthe), found here https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_install.sh

2. Odoo is thus installed in /odoo/odoo-server/. There does not seem to be any issues in running it, the configuration file is in /etc/odoo-server.conf and the addons parth is /odoo/odoo-server/addons

3. i created a new module using scaffold via CLI (I had also tried this without scaffold as well, without any success, but the system does not show any errors, so I have no idea if I am doing anything wrong):

./odoo-bin scaffold -t default <mymodule> /odoo/odoo-server/addons

4. This creates the module in /odoo/odoo-server/addons, which is the path in my /etc/odoo-server.conf file as well

[options]

addons_path = /odoo/odoo-server/addons,/odoo/odoo-server/odoo/addons,/opt/odoo/addons

and all the relevant files, no problems so far. I can see the files there, as per the documentation and I make the necessary changes as per documentation

5. Once done, I go back to my Odoo instance and in Settings, activate developer mode, then update app list, confirm there is an update, go to Apps, remove the default filter, search for the module, then...nothing. I can't seem to find it and I think I have tried everything else which I have found across the Net, namely:

a. creating the module without scaffolding

b. Changing the permissions of the folder and files, using

sudo chown -R odoodev /odoo/odoo-server/addons/<mymodule>

sudo chmod 755 /odoo/odoo-server/addons/<mymodule>

sudo chmod 644 /odoo/odoo-server/addons/<mymodule>

Not sure what else to do...it has been pretty frustrating, as the documentation is limited. Thanks in advance!

0
Avatar
Kassér
Community Question

Did you reboot the server? During one of your experiments, the server may have disqualified the module folder as valid - if if that's the case it won't look again until you reboot. You also need to do this after every change in any Python file (as you are developing).

Nehemias Herrera

add step 6. restart odoo server

Avatar
Ermin Trevisan
Bedste svar

First: Do restart Odoo, if you changed the data model. If it does not help: Did you check the log entries? It can happen that your module is so faulty, that it does not show up in the apps list.

You may also read this thread for further help: https://www.odoo.com/forum/help-1/question/odoo-11-ubuntu-16-04-how-to-transfer-custom-or-third-party-apps-to-your-apps-folder-for-dummies-or-lazy-people-127880

1
Avatar
Kassér
Avatar
Cayprol
Bedste svar

If your addon path is being loaded correctly, as long as there's a python module with __manifest__.py, Odoo should find it.

I had problem finding newly created module due to __manifest__.py being encoded with UTF-8 with BOM.  I use sublime text primarily with an addon that transcode foreign language automatically.  So, upon save it corrupts my __manifest__.py.  Make sure your module folder contains usable __init__.py and __manifest__.py.
Mostly, you would want to use UTF-8 without BOM

Hope this experience is helpful for you to diagnose the problem.  

0
Avatar
Kassér
Avatar
musicearth
Forfatter Bedste svar

Many thanks for the responses. I did restart the server (and I confess - I  didn't include a number of other troubleshooting steps that I tried above,)  but it did not solve the problem. In the meantime, I created another virtual environment and installed Odoo 10 and it  worked without any immediate issues. I did look at the log files in the previous environment, I think that the problem may stem from some of the changes I did post-installation.

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Connecting odoo 11.0 to pycharm on windows 10
scaffold odoo11 pycharm
Avatar
Avatar
6
feb. 19
9234
Can't add Fields/Menus to module Løst
psycopg2 scaffold odoo11
Avatar
Avatar
2
dec. 17
5014
create backorder odoo after validate purchase shipment ? Løst
odoo11
Avatar
Avatar
1
okt. 25
11922
I can't create any sub-task
odoo11
Avatar
Avatar
Avatar
2
jul. 24
3618
odoo 11 display calendar widget in website layout
odoo11
Avatar
Avatar
1
jun. 24
5924
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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