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

Development Steps using Odoo.sh

Subscribe

Get notified when there's activity on this post

This question has been flagged
githubodoo.sh
4 Replies
19368 Views
Avatar
Jeff Mueller

Relatively new to Odoo.sh and github. Need a clear process to follow when performing development using Odoo.sh and github.

When making enhancements to a module I do understand the standards and rules. What is unclear is the git process.

I have been successful in Odoo.sh with the following process, but somehow I ended up with a fatal: not a git repository: error.

This is the process I have been following:

1. Using the odoo editor I make my changes to my xml and py files in my ~/user/[custom_module].

2. Using the webshell, I use git checkout to insure I'm on the correct branch

3. Use git add - To add my changes to git

4. Use git commit - To commit my changes to the branch

5. Use git push https - To push my changes to the branch

This process has worked three times with the branch that I have been working on, then things began to go sour. I'm looking at deleting my repository and starting all over again. But before I go down this road again, I would like to find or create a document on the proper steps for development in Odoo.sh.

Any suggestions?


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

Hi,

You can refer our following blog regarding the deployment of a module in Odoo.sh

Odoo.sh module deployment
​

Regards

1
Avatar
Discard
Avatar
Cédric ATANANE
Best Answer

Hi,


You're almost there. Just make sure to create your development branch from production either via Odoo.sh ui or GitHub.

If you see fatal: not a git repository, you're likely not in the right folder. Just switch to the correct directory where your Git repo is.

Personally, I prefer working locally with VS Code rather than the online editor, it’s faster and more comfortable once configured.

If you're new to Git and Odoo.sh, spending an hour with someone experienced near you can really help you get started with confidence.


Official doc: https://www.odoo.com/documentation/18.0/administration/odoo_sh/getting_started/create.html

Great video: https://www.youtube.com/watch?v=eBphCr3PKnk


Hope that helps!

0
Avatar
Discard
Avatar
Paresh Wagh
Best Answer

Hi Jeff: 

​Github Desktop is a free git client that you can download from github.com and use for your development activities. I have not tried it with odoo.sh per se but it works like a charm with github and any standard git repository.

0
Avatar
Discard
Avatar
Jeff Mueller
Author Best Answer

Ok, well I created a new repository in Odoo.sh. Performed my changes, committed and pushed the changes. Of course, I still have an issue with my build and need to make another change. Problem is, git is no longer assigned to the original branch. If I attempt to $git checkout Project1, I receive the message:

fatal: 'Project1' is already checked out at '/home/odoo/containers/........

This is highly frustrating when just trying to develop. How do you release the container, or better yet, Make changes, test changes, when everything is good, than perform a commit and push. If each time I perform a change I need to re-create the original repository, development will take 10 fold longer.


0
Avatar
Discard
Nilson Zhu

Hi, were you able to solve your problem in the end?

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
Override the Model from Odoo Sh
github odoo.sh
Avatar
0
Mar 25
1626
"Customizing Odoo.sh Web App in PyCharm Without GitHub Code
github odoo.sh
Avatar
0
Apr 24
2816
access denied by odoo.sh
github odoo.sh
Avatar
Avatar
1
Feb 24
3206
Disable Odoo.sh CI Testing Solved
server github odoo.sh
Avatar
Avatar
1
Oct 25
427
Does Sql dump contains modification??
databasebackup github odoo.sh
Avatar
Avatar
1
Aug 25
1188
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