Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

OmniaSolutions - PLM document issue

Naroči se

Get notified when there's activity on this post

This question has been flagged
issuePLM
1 Odgovori
2197 Prikazi
Avatar
Adam Skalik

Hello,

I have issue with latest PLM module from  OmniaSolutions which is running on community version v16.
Issue occurs when I'm trying to link more than one part to document, this issue is not visible while using phone where linked parts are shown in kanban view.

I already wrote to dev but after month there is no response. Bellow You can find logs shown by ODOO.

TypeError: Cannot read properties of undefined (reading 'type')
    at compareRecords (http://192.168.1.3:8078/web/assets/debug/web.assets_backend.js:98774:45) (/web/static/src/legacy/js/views/basic/basic_model.js:5378)
    at stableCompare (http://192.168.1.3:8078/web/assets/debug/web.assets_common.js:76184:25) (/web/static/src/legacy/js/core/utils.js:912)
    at Array.sort ()
    at Object.stableSort (http://192.168.1.3:8078/web/assets/debug/web.assets_common.js:76183:22) (/web/static/src/legacy/js/core/utils.js:911)
    at Class._sortList (http://192.168.1.3:8078/web/assets/debug/web.assets_backend.js:98786:19) (/web/static/src/legacy/js/views/basic/basic_model.js:5390)
    at Class._fetchX2ManyBatched (http://192.168.1.3:8078/web/assets/debug/web.assets_backend.js:96511:14) (/web/static/src/legacy/js/views/basic/basic_model.js:3115)
    at Class._fetchX2ManysBatched (http://192.168.1.3:8078/web/assets/debug/web.assets_backend.js:96599:32) (/web/static/src/legacy/js/views/basic/basic_model.js:3203)
    at http://192.168.1.3:8078/web/assets/debug/web.assets_backend.js:95517:34 (/web/static/src/legacy/js/views/basic/basic_model.js:2121)
    at async Promise.all (index 0)
    at async Promise.all (index 0)

Thanks in advance.

0
Avatar
Opusti
Avatar
mr faann
Best Answer

The issue you're encountering with the latest PLM module from OmniaSolutions, running on Odoo's community version 16, appears to be related to a JavaScript error that occurs when trying to link more than one part to a document. The error message, `TypeError: Cannot read properties of undefined (reading 'type')`, indicates that the code is attempting to access the `type` property of an undefined object, which typically suggests that some expected data is missing or incorrectly referenced. Since this issue does not occur when using a mobile device where linked parts are displayed in a kanban view, it suggests that the problem might be related to how the desktop view is handling these parts.


To resolve this issue, you might start by ensuring that you have the latest version of the PLM module installed, as there could be bug fixes or updates that address this specific problem. Additionally, clearing your browser cache and rebuilding Odoo's assets might help, as sometimes cached JavaScript files can cause unexpected behavior. If there are any customizations or third-party modules interacting with the PLM module, temporarily disabling them could help identify whether they are contributing to the issue.


If you're comfortable with JavaScript, debugging the code where the error occurs might shed light on why the `type` property is undefined. You could also consider using the mobile or kanban view as a temporary workaround until a permanent solution is found. Since you've already reached out to the developers without a response, escalating the issue to the Odoo community or forums might be beneficial, as other users or developers may have encountered and resolved similar problems on 1win app org. If all else fails, modifying the relevant JavaScript file to add checks for undefined objects before accessing their properties could serve as a temporary fix, though this should be done cautiously and ideally with version control in place.

0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Error while installing Event module
issue
Avatar
Avatar
Avatar
2
maj 23
3741
Issue on Mollie payment Gateway
issue
Avatar
Avatar
1
apr. 23
3613
how if i want that user can create issue but can't edit issue? Solved
issue
Avatar
Avatar
1
jan. 23
5950
Does anyone have any experience/feedback about the "Engineering & Lifecycle" Management by Didotech srl App - LibrePLM
PLM
Avatar
0
jun. 21
3021
odoo.modules.registry: Invalidating all model caches after database signaling.
issue
Avatar
Avatar
1
jan. 21
18882
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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