Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Cannot find module created using scaffold in Odoo 11

Naroči se

Get notified when there's activity on this post

This question has been flagged
scaffoldodoo11
5 Odgovori
10935 Prikazi
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
Opusti
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
Best Answer

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
Opusti
Avatar
Cayprol
Best Answer

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
Opusti
Avatar
musicearth
Avtor Best Answer

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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
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 Solved
psycopg2 scaffold odoo11
Avatar
Avatar
2
dec. 17
5014
create backorder odoo after validate purchase shipment ? Solved
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
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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