Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

I cannot access to contacts due to an error " Cannot read properties of undefined (reading 'string')"

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
contactserrror
2 Besvarelser
3881 Visninger
Avatar
Odoo Pub


I just simply want to open contacts and it gives me this error

Cannot read properties of undefined (reading 'string')

I have no idea how to fix it

TypeError: Cannot read properties of undefined (reading 'string')
at http://localhost:8069/web/assets/59556249fb3/web.assets_backend.min.js:6575:211
at traverse (http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:200)
at http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:242
at Function.each (http://localhost:8069/web/assets/4367-3b809bf/web.assets_common.min.js:171:149)
at traverse (http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:211)
at http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:242
at Function.each (http://localhost:8069/web/assets/4367-3b809bf/web.assets_common.min.js:171:149)
at traverse (http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:211)
at http://localhost:8069/web/assets/5955-6249fb3/web.assets_backend.min.js:6570:242
at Function.each (http://localhost:8069/web/assets/4367-3b809bf/web.assets_common.min.js:171:149)

This happened after installing the following module: Vendor Purchase Discount
by Cybrosys Techno Solutions

I've tried to upgrade the module but to no avail. My installation is on windows.

0
Avatar
Kassér
Avatar
Odoo Pub
Forfatter Bedste svar

Hello TTN Solution, I did what you told you and gave the following:


The error you gave me was in the following file error_service.js 

export const errorService = {
start(env) {
function handleError(uncaughtError, retry = true) {
let originalError = uncaughtError;
while (originalError && "cause" in originalError) {
originalError = originalError.cause;
}
const services = env.services;
if (!services.dialog || !services.notification || !services.rpc) {
// here, the environment is not ready to provide feedback to the user.
// We simply wait 1 sec and try again, just in case the application can
// recover.
if (retry) {
browser.setTimeout(() => {
handleError(uncaughtError, false);
}, 1000);
}
return;
}
for (const handler of registry.category("error_handlers").getAll()) {
if (handler(env, uncaughtError, originalError)) {
break;
}
}
if (uncaughtError.event && !uncaughtError.event.defaultPrevented) {
// Log the full traceback instead of letting the browser log the incomplete one
uncaughtError.event.preventDefault();
console.error(uncaughtError.traceback); //-> Error in this line
}
}


And here:


browser.addEventListener("unhandledrejection", async (ev) => {
const error = ev.reason;
const uncaughtError = new UncaughtPromiseError();
uncaughtError.unhandledRejectionEvent = ev;
uncaughtError.event = ev;
if (error instanceof Error) {
error.errorEvent = ev;
const annotated = env.debug && env.debug.includes("assets");
await completeUncaughtError(uncaughtError, error, annotated);
}
uncaughtError.cause = error;
handleError(uncaughtError); // -> Error
});


I've tried everything but I don't know what else to do.

0
Avatar
Kassér
Avatar
TTN SOLUTION
Bedste svar

An error message like this can be difficult to pinpoint the exact cause if you don't provide the code. It often indicates an issue with the website's JavaScript files stored in the static directory. You can locate the error position by following these steps:

  1. Open the browser's developer tools: Right-click on the webpage, select "Inspect" or "Inspect Element" from the context menu, or press Ctrl+Shift+I (or Command+Option+I on macOS) to open the developer tools.
  2. Navigate to the "Console" tab: In the developer tools panel, locate and click on the "Console" tab. This is where you will see error messages and warnings.
  3. Look for the error message: Scan the console for any error messages related to JavaScript. They are typically marked with a red icon or highlighted in red text.
  4. Click on the error message: Click on the specific error message in the console. This action will typically take you to the location of the error within the JavaScript file.

By following these steps, you can identify the line or file that is causing the error and investigate further to resolve the issue. It's essential to review the code and understand the context in which the error occurs to debug and fix the problem effectively.


0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
importing contacts. Getting blocking error: Contacts require a name at multiple rows
contacts
Avatar
Avatar
Avatar
2
okt. 25
1123
Blocking Errors
contacts
Avatar
Avatar
1
okt. 25
871
O18 EE: Completely unknown email addresses in the contacts?
contacts
Avatar
Avatar
Avatar
2
nov. 25
997
Add contacts to the seller field and not users
contacts
Avatar
Avatar
1
maj 25
2525
Individual address on company contact form
contacts
Avatar
Avatar
1
mar. 25
2437
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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