Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How to find custom modules?

Odebírat

Get notified when there's activity on this post

This question has been flagged
modulecustompath
5 Odpovědi
15660 Zobrazení
Avatar
Martin

I'm using the Debian package version 7.0-20130620-231038-1. I'm trying to get a custom module (for testing I used the notebook example from iBCScorp) running, but failed. I first tried to just put the directory in /usr/share/pyshared/openerp/addons/ (the permission are OK, everything world-readable), restarted the server with --update=all, but it didn't work. I also tried with putting the module into (again world-readable) path and the additional parameter --addons-path=/usr/local/src/openerp/testbed/addons/, but again, I can't see the module in the web interface. Is there anything obvious, I forgot? TIA!

0
Avatar
Zrušit
Avatar
Martin
Autor Nejlepší odpověď

OK, it does now work for me! Even, if I'm not sure, whether the solution is correct or not:

I need to put the modules under

/usr/share/pyshared/openerp/addons/mymodule/

plus - and this is the point I missed before:

symlinks for every single file in above directory under the directory

/usr/lib/pymodules/python2.7/openerp/addons/mymodule/

e.g. /usr/lib/pymodules/python2.7/openerp/addons/mymodule/__init__.py points to /usr/share/pyshared/openerp/addons/mymodule/__init__.py etc.

Thanks to everybody for your help!

0
Avatar
Zrušit
Klaus Hagemann

Does anyone know, if there is a smart little Linux shell script to do this task? Creating all the symlinks can be quite time-consuming... In our installation we have also a second directory "/usr/lib/pymodules/python2.6/openerp/addons/" where the links should be created.

Avatar
Ray Carnes
Nejlepší odpověď

When an OpenERP database is created, the systems looks in the addons path and 'loads' metadata about the modules it finds.

--update=all will look at this metadata and re-load all of the module sources, but won't do anything with 'new' modules.

If you put a module into the addons path, you need to trigger OpenERP to update the module metadata.

Settings --> Modules --> Update Module List

Then, any modules that have been added to the system since the creation of the database, or since the last time the module list was updated, will appear (providing they are valid and can be seen by the OpenERP process).

0
Avatar
Zrušit
Martin
Autor

Unfortunately, this does not have any visible effect. Is there any way to debug this? Of course, I already looked for errors and the module names in the log files, but nothing... I'm sure, I'm missing something very stupid, but what?

Avatar
mmycool
Nejlepší odpověď

I usually place my custom modules in /usr/lib/pymodules/python2.7/openerp/addons/ ...then do Settings --> Modules --> Update Module List ...and they work. Try it!

0
Avatar
Zrušit
Martin
Autor

Unfortunately, this did not work for me. I wonder, whether maybe my example modules are broken in some way...

Avatar
Dharmesh Rathod
Nejlepší odpověď

Hi,

Please check file __openerp__.py There is one attribute you have to check :

'installable': True

It may be "False" so check it.

Thanks
Acespritech Solutions Pvt Ltd
http://www.acespritech.com
http://acespritechblog.wordpress.com

0
Avatar
Zrušit
Martin
Autor

It is set to True already. The complete notebook example __openerp__.py is: { "name" : "notebook", "version" : "0.1", "author" : "Keerthi Bandara @ iBCScorp", "website" : "http://www.ibcscorp.com/", "category" : "Generic Modules/Others", "depends" : ["base"], "description" : "Simple demo module", "init_xml" : ["notebook_view.xml"], "demo_xml" : [], "update_xml" : [], "active": False, "installable": True }

Avatar
Paul Ridley
Nejlepší odpověď

Hi Martin,

sometimes when you are installing OpenERP you can be accident create multiple locations where the openerp directories (server,web.,addons,..) are stored. It sounds like you may be placing your custom module in an addons directory that is different from the one used from the start up script.

I suggest that you first look at the startup script and find which openerp.config file it is pointing to. In this openerp.config file you will find the location of the addons folder being accessed by the openerp server. Finally place your custom module in this addons folder, restart the openerp server and hopefully you will now see your module.

An addtional thing that sometimes confuses people is when searching for your module in the web interface (Settings->Modules->Installed Modules) the default filter only shows modules which have already been installed. Make sure that yuo delete this filter so that you can see all installed and not installed modules.

Maybe one of both of these things can help you.

kind regards

Paul Pawri Group BV www.pawri.nl

0
Avatar
Zrušit
Martin
Autor

I checked this, but there were no additional directories. As I wrote, I'm using the Debian package directly from the nightly builds directory, not a custom install. I'm also aware of the filtered view.

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Custom Module Not Populating in Apps List Vyřešeno
module custom
Avatar
Avatar
4
říj 20
9894
Modify existing module giving error in other database
custom path
Avatar
0
kvě 15
4205
For Odoo hosted version, how would I upload a custom module? Vyřešeno
module upload custom
Avatar
Avatar
Avatar
Avatar
3
úno 24
11486
importing custom module
module custom importing
Avatar
Avatar
1
lis 23
3835
error while parsing inherit view
module xml custom
Avatar
Avatar
1
čvn 23
4336
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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