Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Tanya ahli
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Setup Odoo.sh with VScode and Github

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
githubodoosetupvscodeOdoo.sh
1 Balas
11655 Tampilan
Avatar
Sylvain Caron

Hello everyone,

Here is my problem, I want to do my Odoo module developments on VScode in order to take advantage of all the advantages, in particular Python extensions

All the environments I work on are odoo.sh bases.

After having done an Odoo experience last year and having been able to discuss with the developers on site, I was told that they do everything "locally" so I suppose via the installation of a local Odoo of PostgreSql etc.. .


However, I'm having trouble understanding the necessary configuration, i.e.:

  • How to manage configuration files
    • Several SH bases, on different versions (v14 -> v16)
    • Several githubs

  • Is DL required for each Odoo version needed for each odoo.sh database?
    • Or is there an easy way to version swap

  • How to have identical customer data to do our tests ?
    • After some research, it is impossible to make a remote connection to a P-SQL database if it is on odoo.sh, apparently for security reasons
    • I assume you have to upload a local backup?

I also tried an SSH connection (like the SH editor I guess) via Remote SSH from VScode but the connection drops easily and we waste more time waiting for the loads than doing development

Is there any documentation that shows how to setup this set ? or, can I have information on the setup of such an environment

It is possible that I am vague on certain points, do not hesitate to ask me questions.

Thanks in advance,

0
Avatar
Buang
Avatar
Bhavin Patel
Jawaban Terbai

Yes It is possible, Setting up an Odoo development environment with VS Code and GitHub can be a bit complex, but it can be done by following a few steps.

Install Odoo Locally:
To work on Odoo modules locally, you will need to install Odoo on your machine. You can download the installation package from the Odoo website or use Docker to set up a container with Odoo installed.

Connect to Odoo.sh:
After installing Odoo, you will need to connect to your Odoo.sh databases. You can do this by configuring the odoo.conf file with the credentials for your Odoo.sh databases. This file is usually located in the Odoo installation directory.

Use Git to Manage Your Code:
To keep track of your code changes, you can use Git to manage your code. You can create a repository on GitHub and clone it to your local machine. Then you can use VS Code to edit your code, commit changes, and push them to GitHub.

Use the Same Data for Testing:
To test your modules, you can use the same data that you have in your Odoo.sh databases. You can use the backup and restore tools in Odoo to create a backup of your Odoo.sh database and restore it on your local machine. This way, you can work with the same data that you have on your Odoo.sh databases.

Versioning:
If you need to work with different versions of Odoo, you will need to install each version separately on your local machine. You can use virtual environments to keep each version separate and avoid conflicts between them.

Use Odoo VSCode Extension:
To enhance your development experience, you can install the Odoo VSCode extension. This extension provides code snippets, syntax highlighting, and debugging tools to make your development process easier.

Use DevContainer:
Another option is to use the DevContainer feature of VS Code, which allows you to develop in a containerized environment. You can configure a container with all the necessary dependencies and tools, and use it to develop your modules.

There are several resources available online to help you set up this environment, including the Odoo documentation, blogs, and forums. You can also find tutorials and videos that guide you through the process.

0
Avatar
Buang
Germán Barrientos Mora

Can you give an example of how Odoo.sh database is configured in odoo.conf? Thanks

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
How to Add a User to Access the Database on Odoo.sh? Diselesaikan
Odoo.sh
Avatar
Avatar
1
Nov 25
5258
Odoo.SH Github account ownership transfer, trying to change the repository
Odoo.sh
Avatar
Avatar
Avatar
2
Mar 25
9384
How to remove xml problem in vscode?
vscode
Avatar
Avatar
1
Mar 25
2081
Odoo.sh sale commission Diselesaikan
Odoo.sh
Avatar
Avatar
1
Agu 23
3492
Odoo.sh Bad Gateway
Odoo.sh
Avatar
0
Nov 21
4489
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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