Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to prepare continuous deployment process in Odoo?

Subscribe

Get notified when there's activity on this post

This question has been flagged
odoo
2 Replies
3291 Views
Avatar
NoriakiTakamizawa

I try to make all odoo development process by code-base.

When you create Ruby on Rails app, you would use migration feature and CI/CD tool and git.

In this example, all the process should be code-base.

When you deal with Odoo project, what should I do?

I remember Odoo has install base applications. So I wonder how to manage applications by code.

Thanks in advance.

0
Avatar
Discard
Kaushik Pathak

Can you please elaborate more about this?

Avatar
NoriakiTakamizawa
Author Best Answer

Hi, thank you for the detailed answer.
Moreover, I'd like to manage packages like email marketing app by codebase.
It's something like Gemfile on Ruby on Rails. Is that possible?
And is there any migration system on Postgres?
All these procedures are necessary for continuous development.

All the best

0
Avatar
Discard
Avatar
Altela
Best Answer

Hello Noriaki-san,

I assume that you are trying to run odoo with the source code? If thats correct, you are first need to download the odoo "source" file from cloning the github repository or from the odoo official website.

after that, you can install postgresql into your machine. for best development, you can use unix-based operating system like macintosh or linux. create a new database into that postgresql and set the new postgresql account which later will be connected to odoo that will be responsible to write data from into database. you can access the psql and enter this command to create odoo user account in the postgresql

CREATE USER community17 WITH PASSWORD ‘community17’;

ALTER USER community17 WITH SUPERUSER;

ALTER USER community17 WITH CREATEROLE;

ALTER USER community17 WITH CREATEDB;

ALTER ROLE community17 VALID UNTIL 'infinity';



Once the odoo file are downloaded, from your terminal you can get into the odoo folder and run using this command :

python3 odoo-bin --addons-path addons, -r community17 -w community17

From here, you can begin your development. Odoo works modularly, that means all the customization you made is recommended by creating custom module which will be loaded into the odoo. in order to add your custom module, you can create a new folder into the same odoo folder project and add a command into the command above such as 

python3 odoo-bin --addons-path addons,custom_module/ -r community17 -w community17

The explanation above is just a brief step on how to do development of Odoo, for more details you can watch this video on youtube :

Odoo Development Tutorial

I personally use the method from the link above to create my development :)

Hope this helpful, best regards,

Altela (altelasoftware.com)

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

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

Sign up
Related Posts Replies Views Activity
SOC 1 Report
odoo
Avatar
Avatar
2
Nov 25
352
邮箱无法正常使用
odoo
Avatar
Avatar
1
Nov 25
2279
How do I go about this error? I am trying to uninstall a module
odoo
Avatar
Avatar
1
Nov 25
3542
How to import product variants with my own external id when using dynamic creation mode Solved
odoo
Avatar
Avatar
2
Aug 25
4095
How to import Bulk Image in Product your local database not any cloud, odoo.sh Solved
odoo
Avatar
Avatar
1
Jul 25
2046
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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