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
    • Diskusi
    • 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
    • Estate Management
    • 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
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
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

Do you develop new modules? Do you really know everything you need about updating modules?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
moduleupdateodoo10
3 Replies
4078 Tampilan
Avatar
E.M.

If I design a module, I can perform:

odoo -d mydatabase -u all

in order to update all modules.


However, if I want to update just one module I would expect that:

odoo -d mydatabase -u my_module_name

would fit


But it does not, I just changed the name of the module and after updating using -u my_module_name does not work.


0
Avatar
Buang
Axel Mendoza

what kind of tittle is that? is this some kind of click bait?, check in the logs for correctly modules load, maybe you have some kind of missing dependencies

E.M.
Penulis

No click baits at all Axel, title refers to how to update modules and body highlights doubts about that. Something that might seem obvious is not so obviously covered by the docs (it is actually still TODO in docs http://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html)

Avatar
Travis Waelbroeck
Jawaban Terbai

If you change the name of an already installed module, then a couple of things will happen.


Firstly, when Odoo server starts, it will be looking for the already installed module - under the old name, which does not exist.

When it doesn't find that module, it will ignore it and pretend as if it is not installed.


Thus, the command you are running - update "new_module_name" will also not run because Odoo does not see "new_module_name" as already installed.


To fix this, do the following steps:

  1. Load Odoo server normally & uninstall the old_module_name

  2. Either install new_module_name through the Apps section or run the command line command "odoo -d mydatabase -i new_module_name --without-demo=new_module_name"


Now the new_module_name will be installed and future attempts to upgrade through command line will run normally.

1
Avatar
Buang
E.M.
Penulis

What --without-demo does?

Travis Waelbroeck

If a module has demo data, --without-demo specifies that it should not be installed.

Avatar
E.M.
Penulis Jawaban Terbai

Thanks for your answers

I was doing a test with a dummy module (foo_module).


In __manifest__.py I use the name:

'name': "Dummy Module",


I do:

odoo -d my_database -u all

And I can see the module ready to be installed in the module list.


Now, if I stop server, change __manifest__.py to:

'name': "Dummy Module 2",

and run:

odoo -d my_databse -u foo_module


I would expect to see "Dummy Module 2" as module name in the list of available modules, but I still see "Dummy Module".


Does -u module_name work only with installed modules?

 

0
Avatar
Buang
E.M.
Penulis

I found that updating module name (inside __manifest__) is actually updated when app list is updated, an option available in the developer mode in Odoo 10 (https://www.odoo.com/forum/help-1/question/how-to-install-a-module-in-odoo-10-using-deb-package-in-ubuntu-111949)

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
odoo10 could not update lock on row in relations "ir_sequence_data_range"
update odoo10
Avatar
0
Apr 20
3085
Should I update modules individually after git update? Diselesaikan
module update
Avatar
Avatar
1
Mar 18
5495
How to cancel the update of a module?
module update
Avatar
Avatar
1
Mar 15
12029
How to update more than one module?
module update
Avatar
Avatar
2
Mar 15
6739
Developing new modules, KeyError: 'stock.picking' return self.models[model_name] Diselesaikan
module update odooV8
Avatar
Avatar
1
Jan 25
24379
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
  • Tugas
  • 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 ภาษาไทย 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