Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

odoo.sh: 'NameError: name 'active_id' is not defined' from multiple places

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
odoo11odoo.sh
2 Răspunsuri
9165 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Manh Nguyen
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Russ Schneider
Cel mai bun răspuns

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
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Where are custom modules,views, fields, etc. located on Odoo.sh Shell? Rezolvat
shell odoo11 odoo.sh
Imagine profil
Imagine profil
Imagine profil
3
iul. 18
15393
Demande d'explication - odoo.sh | odoo online Rezolvat
odoo.sh
Imagine profil
Imagine profil
1
nov. 25
119
create backorder odoo after validate purchase shipment ? Rezolvat
odoo11
Imagine profil
Imagine profil
1
oct. 25
11852
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Imagine profil
Imagine profil
1
iul. 25
2837
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
apr. 25
13461
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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