コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    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:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

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

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
studioStudio
1 返信
2158 ビュー
アバター
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!!

ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
odoo studio how to create parent and subcategory in new custom module
studio Studio
アバター
アバター
1
2月 24
3583
New group label like Sales in Contacts (v14)
studio Studio
アバター
0
9月 21
2558
Create pages and ads in ODOO STUDIO
web studio Studio
アバター
0
11月 24
2000
Numérotation séquentielle, domaine et contexte - Studio
studio fabric Studio
アバター
アバター
アバター
アバター
4
8月 24
2256
Odoo STUDIO fields sales [FR/EN]
fields studio Studio
アバター
アバター
2
2月 23
2845
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • 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、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

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