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.sh: 'NameError: name 'active_id' is not defined' from multiple places

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
odoo11odoo.sh
2 Replies
9175 Tampilan
Avatar
Bruce Letterle

When I get an email notification from a task in Odoo and click on the "View Task" button:


Which in this case, has a URL of: http://www.redlabmedia.com/mail/view?message_id=15367

I get the following error:

Error:
Error: NameError: name 'active_id' is not defined
https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:127
Traceback:
PY_ensurepy@https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:127:74
evaluate@https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:242:19
evaluate@https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:251:202
eval@https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:255:292
https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:351:114
iterator@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:14:191
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:17:16
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:69:531
https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:351:266
iterator@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:14:191
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:17:16
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:69:531
do_action@https://www.redlabmedia.com/web/content/5997-87b8881/web.assets_backend.js:408:272
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:3819:376
[native code]
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:802:686
fire@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:796:304
fireWith@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:801:202
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:802:874
fire@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:796:304
fireWith@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:801:202
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:802:874
fire@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:796:304
fireWith@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:801:202
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:802:874
fire@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:796:304
fireWith@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:801:202
https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:802:874
fire@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:796:304
fireWith@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:801:202
done@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:1192:106
callback@https://www.redlabmedia.com/web/content/5472-9ba3160/web.assets_common.js:1212:23

I get it  (name 'active_id' is not defined) in a few other places as well.  Like when Activating the Developer Mode.

I see people complaining about this error, but everyone answers that it's fixed.  I'm using odoo.sh.  Shouldn't this be fixed then?



1
Avatar
Buang
Avatar
Manh Nguyen
Jawaban Terbai

I have the same issue and solved it.

In my case, i have create a action which is incorrect and I restart the instance, then fix that action. But the first action still be saved in database.

Solved: Settings -> Technical -> Remove 2 actions then upgrade module.

0
Avatar
Buang
Avatar
Russ Schneider
Jawaban Terbai

Still an issue on odoo.sh.

This also happens when I login:

function PY_ensurepy(val, name) {
        switch (val) {
        case undefined:
            throw new Error("NameError: name '" + name + "' is not defined");
        case null:     /* ERROR IS HERE */
            return py.None;
        case true:
            return py.True;
        case false:
            return py.False;
        }
        var fn = function() {};
        fn.prototype = py.object;
        if (py.PY_isInstance(val, py.object) || py.PY_isSubclass(val, py.object)) {
            return val;
        }
        switch (typeof val) {
        case 'number':
            return py.float.fromJSON(val);
        case 'string':
            return py.str.fromJSON(val);
        case 'function':
            return py.PY_def.fromJSON(val);
        }
        switch (val.constructor) {
        case Object:
            var o = py.PY_call(py.object);
            for (var prop in val) {
                if (val.hasOwnProperty(prop)) {
                    o[prop] = val[prop];
                }
            }
            return o;
        case Array:
            return py.list.fromJSON(val);
        }
        throw new Error("Could not convert " + val + " to a pyval");
    }


[Error] Error: NameError: name 'active_id' is not defined
PY_ensurepy (web.assets_backend.js:127:120)
evaluate (web.assets_backend.js:242)
evaluate (web.assets_backend.js:251:203)
eval (web.assets_backend.js:255:293)
(anonymous function) (web.assets_backend.js:351:115)
iterator (web.assets_common.js:9:192)
(anonymous function) (web.assets_common.js:12)
(anonymous function) (web.assets_common.js:64:532)
(anonymous function) (web.assets_backend.js:351:267)
iterator (web.assets_common.js:9:192)
(anonymous function) (web.assets_common.js:12)
(anonymous function) (web.assets_common.js:64:532)
do_action (web.assets_backend.js:408:273)
(anonymous function) (web.assets_common.js:3712:377)
(anonymous function)
(anonymous function) (web.assets_common.js:788:687)
fire (web.assets_common.js:782:305)
fireWith (web.assets_common.js:787:203)
(anonymous function) (web.assets_common.js:788:875)
fire (web.assets_common.js:782:305)
fireWith (web.assets_common.js:787:203)
(anonymous function) (web.assets_common.js:788:875)
fire (web.assets_common.js:782:305)
fireWith (web.assets_common.js:787:203)
(anonymous function) (web.assets_common.js:788:875)
fire (web.assets_common.js:782:305)
fireWith (web.assets_common.js:787:203)
(anonymous function) (web.assets_common.js:788:875)
fire (web.assets_common.js:782:305)
fireWith (web.assets_common.js:787:203)
done (web.assets_common.js:1178:107)
callback (web.assets_common.js:1198)
0
Avatar
Buang
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
Where are custom modules,views, fields, etc. located on Odoo.sh Shell? Diselesaikan
shell odoo11 odoo.sh
Avatar
Avatar
Avatar
3
Jul 18
15400
Demande d'explication - odoo.sh | odoo online Diselesaikan
odoo.sh
Avatar
Avatar
1
Nov 25
193
create backorder odoo after validate purchase shipment ? Diselesaikan
odoo11
Avatar
Avatar
1
Okt 25
11856
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
Jul 25
2845
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Avatar
Avatar
Avatar
Avatar
Avatar
4
Apr 25
13464
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