Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Studio or custom module for basic changes? (And other custom dev questions)

Subscriure's

Get notified when there's activity on this post

This question has been flagged
2 Respostes
6343 Vistes
Avatar
Kevin Cackler

We are new to Odoo, but I really like what I've seen so far in playing with it. I think we're going to take the leap to implement it into our business processes, but before I do so, I have a question about how best to implement custom changes. 


For instance, in the CRM, we need to add quite a few new fields, some new tabs, etc... to leads. The easiest way forward would be to just use Studio to add these, but we are also perfectly capable of creating a 'crm_customizations' module and adding them there. Is there any downside to using Studio to make simple changes like this? 


In a similar vein - I have this same question for pretty much every aspect of the software. If we want to add a new model, does that have to be done in the code, or can we just do it from developer mode in Odoo? Or if we want to make a new Server Action, same thing. Can we just throw it in via the web interface and call it good or do we need to add it to our codebase?


Lastly, for now, if we have multiple modules that we're making, what's the typical deployment flow look like? Can these be managed as one git repo or are people creating separate repos for each thing they build, and deploying them separately?


Thanks!

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi Kevin,

Using Odoo Studio for making simple changes like adding new fields, tabs, or customizations to existing modules such as CRM leads can be convenient and efficient, especially for users who are not comfortable with coding. It provides a user-friendly interface for making these modifications directly within the application.

However, there are some considerations to keep in mind when using Studio:

  1. Limited Flexibility: While Studio offers a quick way to make changes, it may have limitations compared to custom development. For complex or highly customized requirements, developing a custom module using code might offer more flexibility and control over the functionality.
  2. Version Control: Changes made through Studio are stored in the database and can't be easily version-controlled like code. This can make it harder to track changes over time, especially when multiple users are making modifications simultaneously.
  3. Portability: Customizations made through Studio are tied to the specific database where they are created. If you need to deploy the same changes to another instance or environment, you would need to manually replicate them or use Odoo's data migration tools.

Regarding adding new models or server actions:

  • New models and server actions can also be created using Studio, but once again, it may have limitations compared to custom development, especially for complex business logic or integration requirements.
  • For more advanced or complex functionality, creating custom modules using code allows for greater control and customization. This would involve developing Python code, XML views, and other necessary files to implement the desired features.

For deployment and managing multiple modules:

  • The deployment flow can vary depending on your specific requirements and development practices. Some organizations manage all their custom modules within a single Git repository, while others prefer separate repositories for each module.
  • Managing multiple modules in a single repository can simplify version control and deployment, especially if the modules are closely related or dependent on each other. However, separate repositories offer more granularity and isolation for each module's development and maintenance.

Ultimately, the choice between using Studio and custom development depends on factors such as the complexity of your requirements, the level of control and flexibility needed, and the expertise of your team. It's essential to evaluate the pros and cons of each approach and choose the one that best aligns with your business goals and resources.

Hope it helps

0
Avatar
Descartar
Avatar
Rafeeq Salam
Best Answer

Using Odoo Studio to make simple changes, such as adding fields or tabs in the CRM, is a convenient approach and doesn't necessarily have a downside. However, it's essential to consider a few factors:

Odoo Studio:
  • Pros: Quick and easy modifications, no need for coding skills, immediate implementation.
  • Cons: Changes made in Studio might be more challenging to version control and manage in a team environment. They could also potentially be overwritten during an update or migration.
Custom Module Development:
  • Pros: Offers greater control, easier version control and management, better suited for complex or extensive changes, allows for writing custom code and business logic.
  • Cons: Requires coding skills and knowledge of Odoo development.
Customization Approach:

For small changes, Odoo Studio might suffice. However, for larger or more complex modifications, it's advisable to create a custom module. This approach allows you to have better control over your changes and makes them easier to manage in the long run.

Adding New Models or Server Actions:

Creating new models or server actions can be done both through the web interface (using Developer Mode) and by developing custom modules. For more complex or structured changes, it's often better to implement them through custom modules to maintain control and manage them efficiently.

Deployment and Version Control:

Regarding deployment and version control, there's flexibility in how you manage multiple modules. Some teams prefer managing multiple modules within a single Git repository, especially if the modules are closely related or interdependent. Others prefer separate repositories for better organization and separation of concerns.

Typical Deployment Flow:
  • Single Repository: You can manage multiple modules within a single repository, organizing them into different directories.
  • Separate Repositories: Each module gets its own repository, allowing for independent version control and deployment.
Best Practice:
  • Start Simple: Begin with Odoo Studio for quick changes.
  • Gradually Transition: As your customization needs grow complex or extensive, consider creating custom modules for better control and management.
  • Version Control: Whichever approach you choose, ensure you maintain proper version control to track changes and facilitate collaboration within your team.

Ultimately, the best approach depends on the scale, complexity, and long-term maintenance needs of your customization. It's often helpful to evaluate each scenario to determine the most suitable approach for your specific requirements.


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

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

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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