Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ

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

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

Error message when clicking any item on any page in the studio editor

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
studioStudio
1 ตอบกลับ
2212 มุมมอง
อวตาร
Patrik Payer

Hello community,


we are getting an error whenever we try to edit any item on any list/page within odoo studio.

This happens everywhere, does not matter if we try it in customer support, sales or any other module.

We are running Odoo 17.0+e-20250113 (Enterprise-Edition) on a self hosted linux environment.

Trying to create a new App on the Main Page does work, editing a report also works fine.

Steps to reproduce: 

Open for example a ticket -> Open Studio -> Click on any item.

Error Message:

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
    Error: An error occured in the owl lifecycle (see this Error's "cause" property)
        at handleError (https://****/web/assets/f16c0b1/web.assets_web.min.js:916:101)
        at App.handleError (https://****/web/assets/f16c0b1/web.assets_web.min.js:1559:29)
        at ComponentNode.initiateRender (https://****/web/assets/f16c0b1/web.assets_web.min.js:1008:19)

Caused by: TypeError: Cannot read properties of undefined (reading 'length')
    at zip (https://****/web/assets/f16c0b1/web.assets_web.min.js:3878:144)
    at Object.loadDisplayNames (https://****/web/assets/f16c0b1/web.assets_web.min.js:2858:64)

Function throwing the error:

    __exports.zip = zip;
    function zip(array1, array2, fill=false) {
        const result = [];
        const getLength = fill ? Math.max : Math.min;
        for (let i = 0; i < getLength(array1.length, array2.length); i++) {
            result.push([array1[i], array2[i]]);
        }
        return result;


Any hint on how to troubleshoot or find the cause of this problem would be very much appriciated!


Thanks a lot!

0
อวตาร
ละทิ้ง
Patrik Payer
ผู้เขียน

Thanks a lot for that detailed answer!

I tried steps 1-3 without success, the error presists.

Something I have noticed: The error message changes when in debug mode:

Odoo error message:

UncaughtPromiseError > OwlError
Uncaught Promise > Invalid props for component 'MultiRecordSelector': 'resIds' is missing (should be a list of numbers), 'resModel' is missing (should be a string), 'update' is missing (should be a function)
OwlError: Invalid props for component 'MultiRecordSelector': 'resIds' is missing (should be a list of numbers), 'resModel' is missing (should be a string), 'update' is missing (should be a function)
    Error: Invalid props for component 'MultiRecordSelector': 'resIds' is missing (should be a list of numbers), 'resModel' is missing (should be a string), 'update' is missing (should be a function)
        at Object.validateProps (https://xxxx/web/assets/f16c0b1/web.assets_web.min.js:1143:67)
        at LimitGroupVisibility.template (eval at compile (https://xxxx/web/assets/f16c0b1/web.assets_web.min.js:1511:421), <anonymous>:12:13)
        at Fiber._render (https://xxxx/web/assets/f16c0b1/web.assets_web.min.js:940:96)
        at Fiber.render (https://xxxx/web/assets/f16c0b1/web.assets_web.min.js:939:6)
        at ComponentNode.initiateRender (https://xxxx/web/assets/f16c0b1/web.assets_web.min.js:1009:47)

Browser console error message:

OwlError: Invalid props for component 'MultiRecordSelector': 'resIds' is missing (should be a list of numbers), 'resModel' is missing (should be a string), 'update' is missing (should be a function)

    Error: Invalid props for component 'MultiRecordSelector': 'resIds' is missing (should be a list of numbers), 'resModel' is missing (should be a string), 'update' is missing (should be a function)

        at Object.validateProps (web.assets_web.min.js:1143:67)

        at LimitGroupVisibility.template (eval at compile (web.assets_web.min.js:1511:421), <anonymous>:12:13)

        at Fiber._render (web.assets_web.min.js:940:96)

        at Fiber.render (web.assets_web.min.js:939:6)

        at ComponentNode.initiateRender (web.assets_web.min.js:1009:47)

handleError @ web.assets_web.min.js:2397

I will grab the error logs of the server and post them tomorrow.

อวตาร
Sreez
คำตอบที่ดีที่สุด

Solution 1: Clear Cache and Regenerate Assets

The error points to web.assets_web.min.js, so let’s rule out corrupted or outdated JavaScript assets first.

  1. Stop your Odoo server: 
    sudo systemctl stop odoo
    (Adjust the service name if it’s different, e.g., odoo17.)
  2. Clear the cache:
    • Find your temp directory (check your odoo.conf for data_dir; default is often ~/.local/share/Odoo or /var/lib/odoo).
    • Delete the sessions and filestore contents: 
      rm -rf /path/to/data_dir/sessions/* rm -rf /path/to/data_dir/filestore/*
  3. Restart the server: 
    sudo systemctl start odoo
  4. Hard refresh in your browser:
    • Open Odoo, go to Studio, and press Ctrl+Shift+R (or Cmd+Shift+R on Mac) to reload without cache.
  5. Test editing an item in Studio. If it works, the issue was a stale asset.

Solution 2: Update Modules and Database

Your build (17.0+e-20250113) might have a glitch, or the database might be out of sync after an update.

  1. Backup your database first:
    • Use the Odoo database manager (https://yourdomain.com/web/database/manager) to create a backup.
  2. Update all modules:
    • Run this command in your Odoo directory: 
      ./odoo-bin -c /path/to/odoo.conf -u all -d your_database_name
      Replace /path/to/odoo.conf and your_database_name with your actual config file and DB name.
    • This updates all installed modules, including Studio, to match your codebase.
  3. Restart the server:
    

    sudo systemctl restart odoo
  4. Test Studio again. This can fix schema mismatches or broken dependencies.

Solution 3: Check and Fix Studio Customizations

The loadDisplayNames function failing suggests Studio is choking on a custom field or view.

  1. Open Studio in debug mode:
    • Append ?debug=1 to your URL (e.g., https://yourdomain.com/web?debug=1).
  2. Inspect the view:
    • Open a ticket (or any affected record), enter Studio, and look at the fields/widgets in the view you’re trying to edit.
  3. Remove recent customizations:
    • If you’ve added custom fields, filters, or widgets recently, delete them one by one (click the field in Studio -> "Remove from View" or delete via the model settings).
    • Save after each removal and test if the error disappears.
  4. If you identify a problematic field, recreate it manually or check its definition in the backend (via Settings -> Technical -> Fields).

Solution 4: Patch the Code (Temporary Fix)

If you’re desperate and comfortable with code, you can patch the zip function to handle undefined arrays gracefully. This is a workaround, not a permanent fix.

  1. Locate the file:
    • The error is in web/assets, but the source is likely in odoo/addons/web/static/src/. Search for function zip(array1, array2, fill=false) in your Odoo source code.
  2. Edit the function:
    • Original:
      javascript
      CollapseWrapCopy
      function zip(array1, array2, fill=false) { const result = []; const getLength = fill ? Math.max : Math.min; for (let i = 0; i < getLength(array1.length, array2.length); i++) { result.push([array1[i], array2[i]]); } return result; }
    • Modified:
      javascript
      CollapseWrapCopy
      function zip(array1, array2, fill=false) { const result = []; array1 = array1 || []; // Default to empty array if undefined array2 = array2 || []; // Default to empty array if undefined const getLength = fill ? Math.max : Math.min; for (let i = 0; i < getLength(array1.length, array2.length); i++) { result.push([array1[i], array2[i]]); } return result; }
  3. Restart Odoo and clear browser cache.
    • Test Studio. This prevents the crash but might hide a deeper data issue, so use it as a last resort.

Final Steps

  • Start with Solution 1 and 2—they’re the least invasive and most likely to fix it.
  • If those fail, try 3.
  • Use 5 only if you’re stuck and need a quick patch while investigating further.
  • After each step, test by opening a ticket -> Studio -> clicking an item.

If it’s still broken, grab the server logs (/var/log/odoo/odoo-server.log) and any extra console errors from the browser, then drop them here. I’ll dig deeper with you. You’ve got this—let’s squash that bug!

0
อวตาร
ละทิ้ง
Patrik Payer
ผู้เขียน

Hey Sreez please check my other comment when you find time.
I clicked the wrong comment button :)

Thanks a lot!!

สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
Related Posts ตอบกลับ มุมมอง กิจกรรม
odoo studio how to create parent and subcategory in new custom module
studio Studio
อวตาร
อวตาร
1
ก.พ. 24
3616
New group label like Sales in Contacts (v14)
studio Studio
อวตาร
0
ก.ย. 21
2571
Create pages and ads in ODOO STUDIO
web studio Studio
อวตาร
0
พ.ย. 24
2019
Numérotation séquentielle, domaine et contexte - Studio
studio fabric Studio
อวตาร
อวตาร
อวตาร
อวตาร
4
ส.ค. 24
2285
Odoo STUDIO fields sales [FR/EN]
fields studio Studio
อวตาร
อวตาร
2
ก.พ. 23
2875
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • Github
  • Runbot
  • การแปล
บริการ
  • โฮสติ้ง odoo.sh เซิร์ฟเวอร์
  • การสนับสนุน
  • อัปเกรด
  • การพัฒนาที่กำหนดเอง
  • การศึกษา
  • ค้นหานักบัญชี
  • ค้นหาพาร์ทเนอร์
  • ร่วมเป็นพาร์ทเนอร์
เกี่ยวกับเรา
  • บริษัทของเรา
  • ทรัพย์สินในรูปของเครื่องหมายการค้า
  • ติดต่อเรา
  • งาน
  • ระบบการจัดงานอีเวนต์
  • พอดแคสต์
  • บล็อก
  • ลูกค้า
  • กฎหมาย • ความเป็นส่วนตัว
  • ความปลอดภัย
الْعَرَبيّة 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 เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

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