Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Customization Best Practices

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
customizationbest-practiceDevelopment
3 Antworten
18868 Ansichten
Avatar
Sveng

Am new-ish to Odoo with limited Odoo development experience. Currently on Odoo.sh EE.

One of the great things about Odoo is the ability to customize almost anything. The downside of this is that most things need to be done in code.

Usually there are a multitude of changes/customizations (minor ones but many) that are made e.g. remove fieldA from form x in app/module1, add fieldB to form y in app/module2, create a custom module 3 for new functionality not present, change the domain for a particular search etc.

As listed above these changes are made in a number of different modules.

Would it be wrong to create a single 'customization' module and include all changes in this one module (am assuming this should be possible) instead of creating a different module e.g sales_custom, purchase_custom contacts_custom etc. and place the changes relevant to each module in their own package.

What is the best practice in this regard? Which is the most practical/manageable based on your experiences to manage customizations?

Having all changes in one module would in my mind reduce complexity and make it easier when it comes to upgrades etc.

This would not apply to customizations that are standalone complete new functional modules which I would make self contained modules. 

5
Avatar
Verwerfen
Avatar
Ray Carnes (ray)
Beste Antwort

I disagree.  

If you moved to a new home, wouldn't you want all kitchen related things kept together, rather than a giant container with the oven next to your bed which is next to your bike which is next to your shoes?  You would keep related things together otherwise you would have to search through the entire container to find something to wear to your new job (which you start before you finish unpacking).

If something isn't working, you (or most likely, someone else) will have to search through the entire module to find out what is wrong, you won't be able to uninstall each module until you find the one that introduced the problem.

Also, you likely won't be delivering ALL your features to your Customer at the same time. 

  • You build 5 things
  • They sign off on the 4 that are ready
  • They can't use ANYTHING until EVERYTHING is finished.

It can quickly become too unwieldy to manage as you scale with more developers and more features.

If you want additional fields on the crm.team model that are related to the CRM App, create a new module called "crm_enhance".

If you want additional fields on the crm.team model that are related to the SALES App, create a new module called "sale_enhance".

If you want additional fields on the crm.team model that are related to BOTH, create a new module called "sale_crm_enhance".

If you want additional fields on the crm.team model that relate just to the TEAM ITSELF, create a new module called "sales_team_enhance".

This is what we do. It is how we have scaled development amongst multiple teams working on multiple features, including when it comes time to upgrade (which we do now with automated scripts for each module).

The SCAFFOLD command creates a module stub for you, and if you modify what is created to suit what you need, you can reuse it as a template each time you need a new module.

7
Avatar
Verwerfen
Avatar
Sveng
Autor Beste Antwort

Thanks guys for the perspective. I tend to agree with Ray on this from a devops perspective.

@Ray, I would be interested to hear more regarding your scripting, is this for a managed build / test / deploy process or full continuous integration?

For a single customer/installation (internally / self-managed) in a simple low volume change environment the single module method is probably ok. This is what I found at a customer in this specific instance and hence my question.

As I explore Odoo I am finding configuration & change management one of the most challenging and least developed/documented areas.

1
Avatar
Verwerfen
Avatar
Baiju KS
Beste Antwort

Hi Sven,

Making modules for each bit of customization sound very tedious, the only advantage here is you can simply uninstall a module if you want to remove that feature quickly. If everything is in one module, for this you have to edit the module and upgrade the module. Even with this, it doesn't make much sense to make different modules for small changes, because in long run for a project it will create trouble for adding dependency and locating past done changes.

So if the customization is not a standard reusable functionality, it's useful to have it in one module. If it's for the same project it will eliminate many issues in the long run.

Hope this helps.

1
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Preload a new repair order
Development
Avatar
0
Nov. 24
10
module Extention/ Customization
customization
Avatar
Avatar
Avatar
Avatar
Avatar
5
Aug. 24
4034
[meta] Why do some questions get answers and others do not? Gelöst
best-practice
Avatar
4
Mai 25
19379
Creating demo data for our modules
development xml customization demo_data best-practice
Avatar
Avatar
Avatar
2
Aug. 23
5491
How to custom our Odoo LMS page?
customization
Avatar
0
Jan. 22
3175
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Ausbildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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