Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

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

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

Development Steps using Odoo.sh

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
githubodoo.sh
4 Replies
19435 Rodiniai
Portretas
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
Portretas
Atmesti
Portretas
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
Portretas
Atmesti
Portretas
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
Portretas
Atmesti
Portretas
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
Portretas
Atmesti
Portretas
Jeff Mueller
Autorius 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
Portretas
Atmesti
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!

Registracija
Related Posts Replies Rodiniai Veikla
Override the Model from Odoo Sh
github odoo.sh
Portretas
0
kov. 25
1648
"Customizing Odoo.sh Web App in PyCharm Without GitHub Code
github odoo.sh
Portretas
0
bal. 24
2857
access denied by odoo.sh
github odoo.sh
Portretas
Portretas
1
vas. 24
3243
Disable Odoo.sh CI Testing Solved
server github odoo.sh
Portretas
Portretas
1
spal. 25
463
Does Sql dump contains modification??
databasebackup github odoo.sh
Portretas
Portretas
1
rugp. 25
1216
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة 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 yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

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