Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

OmniaSolutions - PLM document issue

Subscribe

Get notified when there's activity on this post

This question has been flagged
issuePLM
1 Reply
2191 Views
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
Discard
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Error while installing Event module
issue
Avatar
Avatar
Avatar
2
May 23
3735
Issue on Mollie payment Gateway
issue
Avatar
Avatar
1
Apr 23
3596
how if i want that user can create issue but can't edit issue? Solved
issue
Avatar
Avatar
1
Jan 23
5949
Does anyone have any experience/feedback about the "Engineering & Lifecycle" Management by Didotech srl App - LibrePLM
PLM
Avatar
0
Jun 21
3018
odoo.modules.registry: Invalidating all model caches after database signaling.
issue
Avatar
Avatar
1
Jan 21
18874
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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