Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Development Steps using Odoo.sh

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
githubodoo.sh
4 Risposte
19460 Visualizzazioni
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
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

Hi,

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

Odoo.sh module deployment
​

Regards

1
Avatar
Abbandona
Avatar
Cédric ATANANE
Risposta migliore

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
Abbandona
Avatar
Paresh Wagh
Risposta migliore

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
Abbandona
Avatar
Jeff Mueller
Autore Risposta migliore

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
Abbandona
Nilson Zhu

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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Override the Model from Odoo Sh
github odoo.sh
Avatar
0
mar 25
1655
"Customizing Odoo.sh Web App in PyCharm Without GitHub Code
github odoo.sh
Avatar
0
apr 24
2867
access denied by odoo.sh
github odoo.sh
Avatar
Avatar
1
feb 24
3254
Disable Odoo.sh CI Testing Risolto
server github odoo.sh
Avatar
Avatar
1
ott 25
475
Does Sql dump contains modification??
databasebackup github odoo.sh
Avatar
Avatar
1
ago 25
1222
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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