Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

Cannot find module created using scaffold in Odoo 11

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
scaffoldodoo11
5 Vastaukset
10934 Näkymät
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
Hylkää
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
Paras vastaus

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
Hylkää
Avatar
Cayprol
Paras vastaus

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
Hylkää
Avatar
musicearth
Tekijä Paras vastaus

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
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Connecting odoo 11.0 to pycharm on windows 10
scaffold odoo11 pycharm
Avatar
Avatar
6
helmik. 19
9234
Can't add Fields/Menus to module Ratkaistu
psycopg2 scaffold odoo11
Avatar
Avatar
2
jouluk. 17
5014
create backorder odoo after validate purchase shipment ? Ratkaistu
odoo11
Avatar
Avatar
1
lokak. 25
11922
I can't create any sub-task
odoo11
Avatar
Avatar
Avatar
2
heinäk. 24
3618
odoo 11 display calendar widget in website layout
odoo11
Avatar
Avatar
1
kesäk. 24
5924
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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