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

Odoo 10 and 11 inherit partner

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
upgradingres.partnerodoo10.0
1 Balas
4216 Tampilan
Avatar
Ahmed Hefni

 I created a new module in odoo v.10 that add some new fields in res.partner
when installing the module first time everything is fine and all new fields add correctly
when I add some extra field in my module and upgrade the module using -u also the new field added correctly but when uploading my changes in live server ,server will be down and give me error in log
psycopg2.ProgrammingError: column res_partner.xyz does not exist
and to solve this I have to comment all new fields from python and keep them in xml then upgrade the module from ui after that remove the commented fields 
after this fields will be visible
this problem only in v10 and v11

0
Avatar
Buang
Avatar
Sushma
Jawaban Terbai

Hi Ahmed,

Check with following:

1. res.partner, inheritance should be correct, also add base in dependency.
         class Partner(models.Model):
            _inherit = 'res.partner' 
             xyz = fields.Char()
2. You need to restart your server before upgrade, though you've already doing with upgrading -u, So just look for how many instance you have for same server kill other instances then check for new start with -u upgrade.
3. If 1 & 2 won't help you upgrade base module.

0
Avatar
Buang
Ahmed Hefni
Penulis

I can not use -u in production server also server down when uploading code changes and restart service

so I can not upgrade any module using ui

Sushma

Pull your changes to production, then restart production server, upgrade module manually.

Ahmed Hefni
Penulis

What do you mean of upgrading manually

I can not upgrade using -u

and odoo already down after restart service so I can not upgrade using odoo ui

Sushma

Oh didn't realise your server is down, then i believe you must upgrade base using -u

Sushma

Even whenever you're pulling you're changes to production, and after restarting services production is down, must be something wrong with your module or changes.

Ahmed Hefni
Penulis

no my module is correct

all what I have to do is to comment my changes and then remove the comment and everything is work

and this problem happen only in res.partber

all other models is working fine

Sushma

while restarting - u MODULE_NAME -d DATABASE_NAME

hope this will solve your problem.

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
Odoo 10.0 "ProgrammingError: ERREUR: la colonne res_partner.comment_template_id n'existe pas" Exception after upgrade
res.partner odoo10.0
Avatar
Avatar
Avatar
3
Mei 18
7529
How do I add a custom field to item's name in dropdown list.
res.partner sales.order odoo10.0
Avatar
Avatar
2
Feb 18
7579
how translate 'from openerp.osv import fields' of Odoo 9 to Odoo 10 Diselesaikan
function upgrading translate odoo10.0
Avatar
Avatar
Avatar
2
Mei 17
8027
Upgrade Odoo online
upgrading
Avatar
Avatar
1
Okt 25
709
Why should I need to upgrade 12 Enterprise to 15 enterprise?
upgrading
Avatar
1
Okt 25
1933
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