Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

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

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
odoo11odoo.sh
2 Antwoorden
9178 Weergaven
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
Annuleer
Avatar
Manh Nguyen
Beste antwoord

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
Annuleer
Avatar
Russ Schneider
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Where are custom modules,views, fields, etc. located on Odoo.sh Shell? Opgelost
shell odoo11 odoo.sh
Avatar
Avatar
Avatar
3
jul. 18
15408
Demande d'explication - odoo.sh | odoo online Opgelost
odoo.sh
Avatar
Avatar
1
nov. 25
210
create backorder odoo after validate purchase shipment ? Opgelost
odoo11
Avatar
Avatar
1
okt. 25
11856
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
jul. 25
2846
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Avatar
Avatar
Avatar
Avatar
Avatar
4
apr. 25
13470
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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