Missing dependency between server_action_mass_edit and server_action_mass_edit_onchange
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
修正箇所は server_action_mass_edit のマニフェストにある depends リストで、server_action_mass_edit_onchange が欠けています。そのモジュールのマニフェストとonchangeのコードを確認して依存関係が実際に存在することを確かめ、server_action_mass_edit だけをインストールして categ_id を対象に一括編集ウィザードを開き、KeyError 'selection__categ_id' を再現してください。最初のモジュールだけがインストールされた状態でウィザードが開けば完了です。または、README に両方を一緒にインストールする必要があると明記されていれば完了です。issue は両方の選択肢を挙げているため、進める前にメンテナーにアプローチを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Module
server_action_mass_edit
Describe the bug
The module server_action_mass_edit does not declare server_action_mass_edit_onchange as a dependency in its manifest.
As a result, when users install only server_action_mass_edit and create a mass editing rule, the wizard fails with a KeyError (e.g., KeyError: 'selection__categ_id') because onchange logic is missing.
To Reproduce
Affected versions: 17.0, 18.0 (tested on 17.0 with Odoo.sh and Doodba-based environment)
Steps to reproduce the behavior:
-
Install only server_action_mass_edit.
-
Create a mass editing rule for product.template including the field categ_id.
-
Go to Products, select records, and trigger the mass editing rule.
-
The wizard crashes with an RPC error and traceback containing KeyError: 'selection__categ_id'.
Expected behavior
The wizard should open normally, allowing the user to mass-edit relational fields like categ_id, without errors.
Additional context
Installing server_action_mass_edit_onchange resolves the problem.
Suggestion: add server_action_mass_edit_onchange as a dependency in the manifest of server_action_mass_edit, or at least document clearly that both modules must be installed together.
- 主要言語
- Python
- スター
- 960
- フォーク
- 1.7k
- 平均マージ
- 5日 23時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OCA/server-tools のほかの issue
-
dataclasses and python > 3.7対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
OCA/server-tools#3859 ·
メンテナーはふだん 1 日以内に返信
-
When tracking Json fields an error pops in v19対応中かも @xecanto が 23 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OCA/server-tools#3796 ·
メンテナーはふだん 1 日以内に返信
-
[18.0] base_exception: swallow_base_exception_error never runs the decorated test対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OCA/server-tools#3784 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[17.0] auto_backup: Cron: Database backup failed, UnicodeDecodeError: utf-8 codec can't decode byte 0x8b in position 690: invalid start byte対応中かも @xecanto が 33 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
OCA/server-tools#3768 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
OCA/server-tools#3139 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
OCA/server-tools の issue をすべて見る
似ている issue
-
documentation type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
add entry to blockオープン
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"対応中かも @0z5a が今日担当しました。 オープンneeds-triage
難易度 2/5 半日 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
trace: Pi's 1-hour cache writes are priced at 1.25x, but billed at 2x対応中かも @Shizoqua が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/TokenEconomizer#221 ·
メンテナーはふだん 1 日以内に返信
-
plot_graph crashes when a mesh node has no m2m edge対応中かも @tygvi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mllam/neural-lam#883 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信